[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: apache setup



asko mursel wrote:

When I try to turn on the server with "service httpd
start" I get the following "Starting httpd: Syntax error on line 264 of
/etc/httpd/conf/httpd.conf: ServerName takes one
argument, The hostname and port of the server"


It doesn't start the server.
Help.
Please, make some suggestions. Thanks.

If there is any syntax error then the server will not start. Would you let us know what is on line 264 and then we may be able to say what is wrong with it. Which version of apache/linux is this on?

Usually, ServerName is not needed and it is commented out by default. You would only need it if it is different from the DNS name. What IP address and DNS name have you got for your computer network interface (presumably ethernet or serial port)?

HTH
Chris
PS I think you may have simply done a "reply" to a previous message. If so then please start a new message with a new subject, rather than taking someone else's.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]