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

Re: Apache won't start



On Tue, Feb 03, 2004 at 01:37:01PM -0500 or thereabouts, Adam Aube wrote:
> On Tuesday 03 February 2004 01:31 pm, Stephen wrote:
> > As the subject says, it won't start.
> > This is the error message:
> 
> > 	Starting web server: apacheSyntax error on line 313 of
> > 	/etc/apache/httpd.conf:
> > 	Invalid command 'barnyard.sweetpig.dyndns.org'
> 
> Could you post the full line in question from httpd.conf?

Sure, does this help?

---------------------------
#
# ServerName: allows you to set a host name which is sent back to
# clients for
# your server if it's different than the one the program would get
# (i.e., use
# "www" instead of the host's real name).
#
# Note: You cannot just invent host names and hope they work. The name
# you
# define here must be a valid DNS name for your host. If you don't
# understand
# this, ask your network administrator.
# If your host doesn't have a registered DNS name, enter its IP address
# here.
# You will have to access it by its address (e.g., http://123.45.67.89/)
# anyway, and this will make redirections work in a sensible way.
#
#ServerName new.host.name

barnyard.sweetpig.dyndns.org
----------------------------



Reply to: