At Windows, search for Notepad:
Right-Click on Notepad and select on Run as admin
Click on File > Open:
Paste the path below to the to the Window Explorer:
C:\Windows\System32\drivers\etc
At shows document file extension, click the drop down and click show all file:
After that, may open hosts file:
From here you may assign your domain to refer to other web hosting without affecting the DNS pointing:
For example, your domain is connected to Hosting A, while you require to check the content under & Hosting B. You may configure as sample below:
Please replace:
> domain.com to your domain
>IP address above to the website hosting IP that you wish to connect to
Click on File and click Save
Lastly, refer guide below to purge your device and browser cache. After that, may browse the domain / website and it shall be showing the content from the other web hosting.
Browser:
https://support.exabytes.com.my/en/support/solutions/articles/14000034373-how-to-clear-your-browser-cache-
Device:
https://support.exabytes.com.my/en/support/solutions/articles/14000047917-how-to-flush-dns-cache-from-your-computer-