1. Home
  2. Knowledge Base
  3. cPanel
  4. Settings
  5. 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:\Windows\System32\drivers\etc 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.

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support