KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm trying to set up my development instances so that I can fake some urls that I own. My website has a number of url's and depending on the one you visit my site will act differently based on the domain.. ive edited my C:\WINDOWS\system32\drivers\etc\hosts File to contain something like below 127.0.0.1 localhost 127.0.0.1 SomeDomain.com 127.0.0.1 MyDomain.com Now if I visit localhost everything works fine but when i try visit SomeDomain.com or MyDomain.com it produces couple different messages depending on browsers Firefox - "Bad Request (Invalid Hostname)" Chrome - Asked for a username/password and just hitting on (not entering anything) products same result as firefox IE6- "The page cannot be displayed" any ideas?
Tags (comma-separated)
Save Edits
Cancel