imak
imak

Reputation: 6699

created a website site1.com on local IIS. Now how to access it in browser

I am following this video about IIS on this link at channel9. If you just go on time 1:10 in video, Steve creates a website site1.com and then access it on browser via site1.com. When I do the same, i just get google search results back that site1.com not found. I am just not sure if you can access any website on your local machine without having something like http://localhost/site1.com. Am I missing something here?

Upvotes: 0

Views: 604

Answers (1)

AndrewR
AndrewR

Reputation: 6758

You'll need to add the domain to your HOSTS file.

127.0.0.1    site1.com www.site1.com

Upvotes: 2

Related Questions