Fully qualified domain name

Alma J Wetzker almaw
Sat Dec 25 15:11:55 PST 2004


Net Llama! wrote:
> On 12/25/2004 11:19 AM, Alma J Wetzker wrote:
> 
>> Things are a bit crazy here so I haven't searched as much as I should 
>> have.
>>
>> I have a Gentoo box that has a hostname but fails to pickup the domain 
>> name. I am using a generic belkin firewall/NAT router that assigns the 
>> IP using DHCP.  I have wetzker.org assigned as the domain in the router.
>>
>> The real issue is that apache2 will not start without the FQDN and I 
>> need the web server running because I will be out of town and need 
>> access to my system.
> 
> 
> that doesn't make much sense.  i've got apache running on many systems 
> that lack a FQDN.  What is the exact error you're getting?
> 
>>
>> Any ideas?   TIA
> 
> 
> ssh?
> 
from the startup file in /etc/init.d

# /usr/sbin/apache2 -t ${APACHE2_OPTS}
apache2: Could not determine the server's fully qualified domain name, using 
127.0.0.1 for ServerName
Syntax OK

The error I get is that there is an error with the configuration file is

# ./apache2 start
  * Apache2 has detected a syntax error in your configuration files:

I can get here by ssh.  It would be nice to be able to use a web interface 
also.  I guess I can't have everything.   Thanks!

     -- Alma


More information about the Linux-users mailing list