Viewing site before DNS propagates

kerryww

Registered
Jul 7, 2017
1
0
1
Australia
cPanel Access Level
Website Owner
I've opened a reseller account on a shared server.

When I try to view a site before the DNS propagates I get the following not found error:
107.161.xx.xx/cp_errordocument.shtml (port 80)

The site is http://107.161.xx.xx/~ozwebexp/

When I point the DNS to the domain it works without any problems.

I've sent a support ticket to the host but got back the following reply:
Since our server working on litespeed web server. You can able to load like 107.161.xx.xx/~ozwebexp/ using apache mod_userdir. Please point our NS to your domain and have a check on it."
I've Googled the error, but can't find an answer.

TIA
 
Last edited by a moderator:

24x7server

Well-Known Member
Apr 17, 2013
1,912
99
78
India
cPanel Access Level
Root Administrator
Twitter
Hi,

You don't have to wait for DNS propagation for checking a website. You can spoof it. Just create a local DNS entry on your machine to lookup the website to new IP.

On a Windows client machine, just navigate to the path " C:\Windows\System32\drivers\etc " here you will fine a file named hosts. Open this file as administrator to edit it and you will fine an example in this file just follow that example and you can browse your website directly using URL..
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
  • Like
Reactions: linux4me2