0

I have a website, hosted on server named "A". (production, the nameservers point at this server)

I just purchased a VPS server, named "B". (test, no nameservers pointing anything)

On the second server I have setup within IIS, the same website as in server "A"

Upon selecting the option within IIS manager

Browse example.com on xxx.xxx.xxx.xxx:80 (http)

the internet explorer browser, opens the website hosted on server "A" and not the one locally at server "B".

How can I browse the website hosted locally on server "B"?

OrElse
  • 103
  • 1
  • 5

2 Answers2

2

You can edit your "hosts" file so that the web site name points to server B's IP address; that will bypass DNS.

Massimo
  • 70,200
  • 57
  • 200
  • 323
0

You can also use 127.0.0.1 in the browser on the local machine, either http or https or both, however you have it setup. That should pull up the local web server. Also on the right side of the IIS Manager, when you highlight the website on the left you should have the option Browse this website. On either 80 or 443

RobS
  • 1
  • 1