Ali Foroughi
Ali Foroughi

Reputation: 4609

Binding a name to my website in IIS 7 on win 7

I created a site in iis 7 and bing a name to it.(ggp.sa)

and set its port to 80 and stop default web site and start my own. by i have a problem.when i want to see it in my browser , i can find it with http://localhost but not with ggp.sa?

where is my fault?

Upvotes: 0

Views: 179

Answers (1)

Matthew Abbott
Matthew Abbott

Reputation: 61589

You need to add it to your host file:

127.0.0.1 ggp.sa

The DNS lookup will use the host file value, so it will then make a request to 127.0.0.1, IIS will accept that request and use the host header value to route the request to the appropriate web application.

Upvotes: 1

Related Questions