views:

125

answers:

1

I'm currently using Windows 7 with WAMP to try and work on some software, but my web browsers will not accept cookies from the "localhost" domain. I tried creating a few bogus domains in my hosts file by pointing them to 127.0.0.1 but when I type them in I am automatically redirected back to localhost. I have also configured virtualhosts in apache to correspond with the domains I added to the hosts file and it still redirects back to localhost. Is there anything special I must do on Windows 7 to get around this localhost redirect?

Thanks for looking :)

A: 

Firstly, I would recommend following this article to make sure your WAMP is setup correctly:

http://www.kintek.com.au/web-design-blog/configuring-multiple-domains-within-wamp-for-local-development/

Then, make sure when you type the URL into your browser you type the full domain. eg: http:// www.domainname .dev. That will force it to look for the correct site. Try using Google chrome if all else fails!

Maurice