Registering domain name started the problems?

Associate
Joined
18 Oct 2002
Posts
710
Location
Somerset
For some time i have been running wamp on my home PC with no problems,
All the pages/content i have put up has been accessible to me via http://localhost and when i make any changes i use a proxey to check it out with my external IP, the very few people that use the pages have been OK as well.

Today i have made a lot of changes to my content but everything was working as it should, i then done some thing i have been thinking of doing for some time and registered a domain name for my self.
All that went through and i set my IP in there system for the A records,
I have only registered a domain name with them and they supply free DNS management, i am not renting any space from them.

Back i go to making changes to content and it is all still working through localhost,

I understand that the domain name needs 12 to 24 hrs to actually start working so i left that alone.

Back on the proxy i try to use my IP again as i have been but this time i get

Forbidden

You don't have permission to access /index.html on this server.

The apache error log is showing

[Sun May 18 00:57:50 2008] [error] [client 67.159.44.24] client denied by server configuration: C:/wamp/www/index.html, referer: http://my external ip/

I am guessing the 67.159.44.24 is the proxy IP

Why it should start doing this i dont know but it has only started since i set up the domain name with my IP, it was all working before hand, and now it only works via localhost.

Can any one tell me what is wrong?

Thanks
 
So clearly nothing to do with the domain name.

I am slowly going over the httpd.conf file and found this

# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1

If i change it to

Allow from all

i can then access it via a proxy using my IP again, but is this the right thing to do? as i have not changed any thing in the httpd.conf file, and i definatly did not change that section to Deny.
 
Thanks Dan, I want any one to be able to access it so have left it at Allow All but i don't understand, if that is the case, how it changed as it was all accessible from any where before yesterday, and i never changed that option in the httpd.conf file.
 
If you had an .htaccess file in the root of your website that contained "Allow from all" and you had an override set for your website document root in httpd.conf, the .htaccess file would've overidden httpd.conf.

Either that or something has replaced your httpd.conf - did you reinstall apache?
 
I do have .htaccess running but not in the root, and that is still working fine,

I have not reinstalled apache but i did add Joomla to the mix on friday, i wonder if that changed it for some reason,
I really cant think of any thing else that would have done it.
 
Back
Top Bottom