r3plica
9th March 2002, 10:26
ok im having a little bit of a problem, since i got my two pcs up and running (thx to Jez_Gafys)I decided to put together a little server, hosting me websites and perhaps some games....atm the games can wait, but i have run into a prob.....at first i used apache and everything working fine - i also got php support working :D which was nice for my forum, but i had to format meh hdd and now i cant get apache to host over the net.can any one help
I will try to point out exectly what i think is the prob....I have read the apache documents online, but unfortunately for me there is no documents marked n00bies :) I beleive that the problem is caused by this line in the httpd.conf
'erverName localhost' now there is a description above this that tells u how to configure it, but i dont understand it...so can any one tell meh what this means ?
'# 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.
#
# 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your
# machine always knows itself by this address. If you use Apache strictly for
# local testing and development, you may use 127.0.0.1 as the server name.'
and also how to set it up :D
thx r3plica
I will try to point out exectly what i think is the prob....I have read the apache documents online, but unfortunately for me there is no documents marked n00bies :) I beleive that the problem is caused by this line in the httpd.conf
'erverName localhost' now there is a description above this that tells u how to configure it, but i dont understand it...so can any one tell meh what this means ?
'# 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.
#
# 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your
# machine always knows itself by this address. If you use Apache strictly for
# local testing and development, you may use 127.0.0.1 as the server name.'
and also how to set it up :D
thx r3plica