Re: apache: "httpd: cannot determine local host name."
>>>>> "Graham" == Graham Ashton <graz@mindless.com> writes:
Graham> if you've got a dynamic ip address, or that still doesn't
Graham> work, look through your httpd.conf file until you find the
Graham> line that looks like;
Graham> #ServerName myhost.mydomain.com
Graham> replace myhost.mydomain.com with what it should be, and
Graham> remove the '#' from the start of the line. then try
Graham> restarting apache.
So what if your hostname is dynamic, too? Obviously this won't be
usable as an actual web server, but I want to use it for dwww,
squid-cgi, and other utility CGIs.
Can I just set ServerName to "localhost" or the (fake) hostname I've
set for the machine? /etc/apache/http.conf says: "You cannot just
invent host names and hope they work." But does that only apply if
clients on other machines are seeing it?
As a side note, having a dynamic IP/hostname is a *real* pain on
Linux! Perhaps an effort to develop a set of services which are
optimized for a dialup connection would be good...
Tim Moore
Reply to: