Skip to main content

Viewing site before DNS propagates

Comments

2 comments

  • 24x7server
    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..
    0
  • cPanelMichael
    Hello, The Apache Mod_Userdir tweak isn't always a reliable method of previewing your website. You can review the documentation on this feature, including the "Warnings" section, at: Apache mod_userdir Tweak - Documentation - cPanel Documentation Manually updating the hosts file on your local machine is the recommended method of previewing a website. The following thread will help you to set this up: [Tutorial] Editing your local hosts file to preview sites Thank you.
    0

Please sign in to leave a comment.