Apache Server Name

Jeff Vian jvian10 at charter.net
Sun Apr 9 04:21:13 UTC 2006


On Sat, 2006-04-08 at 16:26 -0500, Dan Shelstad wrote:
> Thank you!
> 
> That worked.
> 
That worked because /etc/hosts is borked.

A default config of FC5 (and FC4 as well) puts the host name I assigned
and the localhost stuff on the line with 127.0.0.1 in /etc/hosts.
It did that even though I had already assigned a static IP to the
machine.

I always check /etc/hosts and make the changes that set it the way it
*should be* by default.

What I saw with the FC5 install was (line wrapped by mailer):
127.0.0.1         myhost.domain.com myhost localhost.localdomain
localhost

What it should have been was:
127.0.0.1         localhost.localdomain localhost
XXX.XX.XX.XX      myhost.domain.com myhost




> Dan 
> 
> -----Original Message-----
> From: fedora-list-bounces at redhat.com
> [mailto:fedora-list-bounces at redhat.com] On Behalf Of list user
> Sent: Saturday, April 08, 2006 4:10 PM
> To: For users of Fedora Core releases
> Subject: Re: Apache Server Name
> 
> Dan Shelstad wrote:
> > I used the IP address of the server. 192.168.3.9. I still get the same
> > error...
> 
> When in doubt you can always use "localhost".
> 
> hth
> 
> > 
> > Dan
> >  
> > 
> > -----Original Message-----
> > From: fedora-list-bounces at redhat.com
> > [mailto:fedora-list-bounces at redhat.com] On Behalf Of Paul Howarth
> > Sent: Saturday, April 08, 2006 3:17 PM
> > To: For users of Fedora Core releases
> > Subject: Re: Apache Server Name
> > 
> > On Sat, 2006-04-08 at 15:09 -0500, Dan Shelstad wrote:
> > 
> >>Hello,
> >>
> >>
> >>Trying to set up Apache on FC5. Trying to do the basics like Server
> >>name. Can't seem to get past this. Error is "Warning" "The server name
> >>may only contain alphanumeric characters". Trying to put in FC5 and
> >>this is what I get. I have tried other combinations also to no avail.
> >>Anyone have any ideas?
> > 
> > 
> > It's looking for a real hostname, like www.example.com
> > 
> > You must use a real name that resolves to the IP address of your
> server.
> > Don't just make one up. If you don't have a real hostname, use the IP
> > address of your server instead, as explained in the comments
> > in /etc/httpd/conf/httpd.conf
> > 
> > Paul.
> > 
> > 
> > 
> 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> 




More information about the fedora-list mailing list