Where is "hosts" file for apache https?

Jeremy Lavergne jeremy at lavergne.gotdns.org
Thu Feb 28 11:17:07 PST 2013


> What's the advantage of using a bunch of conf files, one for each virtual host, over just putting blocks for them in httpd-vhosts.conf with corresponding entries in /etc/hosts ?

"to make it easy to distinguish which host is in which file"

> Or does using the separate conf files mean I don't have to list each virtual host again in /etc/hosts ?

You need to put the domains in /etc/hosts so that the computer knows to direct requests form your browser to your own machine instead of off to the interwebs.



More information about the macports-users mailing list