[olug] HTTPD vhosts

Christopher Cashell topher-olug at zyp.org
Mon Dec 31 18:33:59 UTC 2012


On Mon, Dec 31, 2012 at 12:23 PM, Dave Rowe <dave at roweware.com> wrote:
> Do you have entries in your /etc/hosts file for each of those 'ServerName'
> entries?  You can map them to 127.0.0.1 in /etc/hosts, since it is local to
> your machine.

Not just the ServerName entries, but also make sure the locally
assigned hostname can be looked up.  Can you show us the output of the
following commands?

hostname
domainname
host hopper.flintfam.org
ping -c1 hopper.flintfam.org
grep -i hopper.flintfam.org /etc/hosts

> -Dave

-- 
Christopher



More information about the OLUG mailing list