Dongwei  Shi
Dongwei Shi

Reputation: 85

IIS cannot access page through domain

I have successfully published a website(whatever.com) and it is accessible for global users except for the server itself.

If I input the domain(whatever.com) in the server's browser, it would display "This page can't be displayed."

How could I fix it that could let me access the page through the server's browser?

Other information:

  1. Users from other computers could access my page.

  2. Localhost(http://localhost/) works in the server's browser but domain(http://whatever.com/) doesn't.

  3. Port 80 is opened.

Upvotes: 0

Views: 3037

Answers (1)

Sergiu Muresan
Sergiu Muresan

Reputation: 539

Make sure that the domain "whatever.com" is in the bindings list on the website from IIS.

You might have a DNS problem on the server, you can manually map the "whaterver.com" domain in the hosts (C:\Windows\System32\drivers\etc\hosts) file of your server by appending the following line:

127.0.0.1     whatever.com

Upvotes: 1

Related Questions