Print
Kindly follow the below guide to view your website without your domain being pointed to the server:
1) Locate the HOSTS file on your computer. Typically it is in one of the following locations:
C:\windows\system32\drivers\etc\hosts
or
C:\windows\hosts
2) Open this file with a text editor such as Notepad or Wordpad.
3) Right-click on Notepad and select the option to Run as Administrator - otherwise you may not be able to open this file.
4) Open the Hosts file, you will see two columns of information, the first containing IP addresses and the second containing host names.
Kindly add the following record (xxx.xxx.xxx.xxx xyz.com) so it would look like:
Note: Replace xxx.xxx.xxx.xxx with your website IP address
Replace xyz.com with your domain name
5) Save changes.
6) Restart any currently open browsers and flush your DNS by going to Start, and then Run, then type "cmd" and hit enter.
Type the following:
$ ipconfig /flushdns
7) After this you would be able to browse your domain via browser and view the contents.
8) Once you are done, please open the file and remove the added record (xxx.xxx.xxx.xxx xyz.com)
Note: Replace xxx.xxx.xxx.xxx with your website IP address
Replace xyz.com with your domain name
Related Articles
Self-Hosted Help Desk Software by
SupportPal