|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] Apache hostname problem
|
Jon Galt wrote:
>
> On Mon, 11 Feb 2002, Greg Sabino Mullane wrote:
>
> > > When I run /etc/rc.d/init.d/httpd start, it gives me the following alert:
> > > Starting httpd: [Mon Feb 11 19:23:05 2002] [alert] httpd: Could not
> > > determine the server's fully qualified domain name, using 127.0.0.1 for
> > > ServerName
> >
> > Make sure you have a ServerName directive in your httpd.conf file:
> >
> > ServerName aiur.bonsaisoftware.com
>
> Ouch. I'm sure you're right, but now all I get is:
> Starting httpd: [FAILED]
>
> There's obviously something else I need to do.
>
> Dumb question: does it need to nslookup bonsaisoftware.com? I've had the
> name registered for a while, but it's not pointing anywhere yet and I'm
> not running bind (or whatever), which I suspect might be another whole
> can of worms.
What happens if you ping that hostname? I'd guess you just need a way
to resolve the hostname. Easiest way is to add it to /etc/hosts, with
it's local IP address (for the time being) until you go for the static
IP. If you do NAT/firewalling, you may just leave it this way after you
get your static IP. If you resolve the nslookup/DNS resolution and have
an always-on internet connection, then you can remove the name entry
from the hosts file.
--
Kevin Brosius
______________________________________________________________________
Philadelphia Linux Users Group - http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion - http://lists.phillylinux.org/mail/listinfo/plug
|
|