[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ossig] Apache2 Newb Q
On Monday 26 April 2004 12:48, Tejinder Singh wrote:
> i have a problem with apache not starting during boot up. it is not
> resolving my server set up in the servername directive in httpd.conf
> file.
>
> have checked in all the regular places, the resolve file, the
> httpd.conf file /etc/hosts, all in vain. i need to do more research,
> but can anyone assist in the meantime ?
>
> fyi, i run apache 1.3.9.
>
If you do not have a DNS name for your host, you often have to use the
IP address to make it work. Look in your httpd.conf file for this
particular section:
# ServerName gives the name and port that the server uses to identify
# itself. This can often be determined automatically, but we recommend
# you specify it explicitly to prevent problems during startup.
#
# If this is not set to valid DNS name for your host, server-generated
# redirections will not work. See also the UseCanonicalName directive.
#
# If your host doesn't have a registered DNS name, enter its IP
# address here. You will have to access it by its address anyway,
# and this will make
# redirections work in a sensible way.
#
#ServerName new.host.name:80
Uncomment the ServerName section and enter your IP address there. That's
probably the problem Apache is giving you.
--
Kenneth Wong
IOSN Programme Consultant, UNDP-APDIP, Malaysia
DID: +603 2091 5169 Fax: +603 2093 9740
International Open Source Network: http://www.iosn.net
UNDP Asia Pacific Development Information Programme:
http://www.apdip.net
---------------------------------------------------------
To unsubscribe: send mail to ossig-request@mncc.com.my
with "unsubscribe ossig" in the body of the message