I have httpd running on local installation on physical hardware at home so I can erase the SSD, not in a VM and not remotely. I substituted my real domain here for example.com. I have
$ cat /etc/rc.conf.local httpd_flags= My home router router set to port forward port 80 and port 443 to the internal ip of machine. There is no SSL issued for my domain and pf is disabled. $ rcctl -d start httpd doing _rc_parse_conf httpd_flags empty, using default >< /etc/rc.d/httpd: need root privileges When I ping my domain it gives my public facing IP address but loading domain in web browser it can't connect or connection is refused and nothing loads. dnschecker.org for my domain gives all green checkmarks # ls /var/www/htdocs/www.example.com index.html $ cat /etc/httpd.conf server "www.example.com" { listen on * port 80 root "/htdocs/www.example.com" } server "www,example.com" { listen on * port 80 block return 301 "http://www.example.com$REQUEST_URI" } # Include additional MIME types types { include "/usr/share/misc/mime.types" }