Forum Moderators: phranque

Message Too Old, No Replies

Localhost not working

Localhost

         

Georgezx9

10:13 pm on Jan 4, 2006 (gmt 0)

10+ Year Member



Hi again, at last managed to get [localhost...] to work. It was installed using the wrong port, so manually changed the config file. Also had to get firewall to allow Apache to work.

It now reads:
Listen 80, however I assume this needs to be edited all the way through the config, ie it still states
ServerName server.gyhome.com:8080, I assume this is wrong.

When running dreamweaver and I create a new site, do I have to change the config file in apache so that it points to my new site, when I try and preview a site it comes up with file not found again.

The following line points to a different area from my sites
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"

Help, be patient I am getting there!

Thanks in advance

coopster

3:11 pm on Jan 5, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, Georgezx9.

You are correct in that you need to tell it to Listen [httpd.apache.org] on port 80 and then your ServerName [httpd.apache.org] might be 'localhost'. The Apache manual pages are a good resource to get up to speed.