1. Home
  2. cPanel
  3. How can I check the content of my website before switching the DNS records?
  1. Home
  2. Settings
  3. How can I check the content of my website before switching the DNS records?

How can I check the content of my website before switching the DNS records?

Step 1: Open the folder C:WindowsSystem32driversetc in your PC.
Step 2: Double-click on the ‘hosts’ file and choose Notepad from the list of available software.
Step 3: Input the following strings in the end of the document:

+++
IP_address domainname.com www.domainname.com
+++

Step 4: Save the changes.
Step 5: Now you need to clear the browser’s cache and re-open your domain name in it to see the changes.
Step 6: To revert the changes, you need to remove the new entries added to your host file or simply comment them by adding ‘#’ at the beginning of each line, then save the changes.

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help for 24X7!
Click here to talk us!

Leave a Comment