ext_285100 ([identity profile] darkvervain.livejournal.com) wrote in [personal profile] funeralcrasher 2006-05-29 09:52 pm (UTC)

You will definitely need DNS.

If, say, fu.mydomain.com and bar.mydomain.com have the same IP (basically the web address), apache will know which content to serve based on the hostname the user typed in to get there, and looks it up in the ServerName entry for that VHOST.

Putting it in /etc/hosts won't matter, since it's all based on the DNS.

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting