How to preview my website before switching DNS?

To preview your website on our server, you could either use the temporary link (that is mentioned in the activation e-mail) or edit your hosts file.


First of all you have to locate your hosts file (and if needed update the following command). 

  1. Open the Windows start menu and enter the following command:
    notepad c:\windows\system32\drivers\etc\hosts
  2. Right click on the result and choose "Open as administrator"
  3. Notepad will open a file with some descriptions in which you will append the following entries to the end of the file:
  4. Replace "" with the IP address that is mentioned in the package activation mail. Replace "" and "" with the domain you want to test.

Save the file with "CTRL + S".

Now you can open your browser and preview your website on our server.


To preview your website on our server, you can apply the following changes to your Mac:

  1. Open the terminal using Spotlight or under Applications - Utilities - Terminal
  2. To open the hosts enter the following command:
    sudo nano /private/etc/hosts
  3. If prompted enter your username and password
  4. Append the IP and your domain according to the sample provided in the file. The IP of the server can be found in the activation e-mail.
  5. To save the file, press CTRL+O, then ENTER for the file name and CTRL+X to exit

Now you can open your website, hosted on our server.


  • dns
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to flush DNS cache?

In order to empty your DNS cache, follow the following steps:   1- Click on START and enter...

How do I cancel a service?

We're sorry to see you go. If there is anything we can do to keep you as a customer, please get...

How Long Does Domain and Hosting Activation Take?

Upon successful payment, your domain and/or hosting account will be instantly activated. How Do...

How can I change my email address?

For security reasons, we don't allow clients to change their email address. If you need to change...

Powered by WHMCompleteSolution