IIS Manager – How to Browse a Website Locally on Windows Server 2016

domain-name-systemiisiis-10windows-server-2016

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"?

Best Answer

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