httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Reppucci <>
Subject Re: Apache
Date Fri, 15 Mar 2002 18:37:36 GMT

On Fri, 15 Mar 2002, Bill Olson wrote:

> When I setup freeBSD, I gave it the DNS name of and
> when I put that name under apache, It doesn't work. Im just about ready to
> hang it up.
> > > > > [Thu Mar 14 11:06:25 2002] [alert] mod_unique_id: unable to
> > > > > gethostbyname("pizza
> > > > >")

Look, it's pretty simple, here's an off-the-top-of-my-head intro:

The 'ServerName' needs to be set to something that can be resolved

If you have a real, resolvable hostname in your httpd.conf:


At the shell prompt, try:

or: dig +short

This *doesn't* resolve for me, so if this really is the hostname you
want, you need to either get your DNS service provider to add an
entry to the '' zone for your ip address, or else
you need to add a line to your /etc/hosts file like this:

(Use your ip address in place of the

NOTE: that if you do just add this to the /etc/hosts file, others
will not be able to connect to this server, as they have no way of
mapping that name to your ip address, but it'll at least get you


Steve Reppucci                              |
Logical Choice Software                 |
=-=-=-=-=-=-=-=-=-=-  My God!  What have I done?  -=-=-=-=-=-=-=-=-=-=

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message