How can I test my website before switching DNS?

When transferring to a new hosting provider, the most important thing for you to do is to test your website before pointing your domain over. This will help guarantee a successful migration by ensuring your site is 100% functional before making the switch.

What you will need:

  • Your Clark Site Solutions service server IP. You can find this in your service welcome email, or by contacting support to confirm the correct IP address you’ll need to use.

Redirecting via System HOSTS File

The best way to test your website is by staging your domain via your system’s HOSTS file. This method avoids having to wait for DNS propagation, however will only work for the local system. If someone else would like to test the site, they will need to follow the same steps for modifying the HOSTS file.

  1. Open your text editor of choice. Windows users will need to use Notepad with administrative privileges in order to be able to modify the HOSTS file (right click Notepad -> Run as Administrator).
  2. Open your systems HOSTS file. The location of this file is as follows:
    Linux / Mac /etc/hosts
  3. Take note of your Clark Site Solutions server IP, and add the following line to the file on a new line at the bottom of the HOSTS file:
  4. Note that SERVER_IP_HERE needs to be replaced with your actual server IP. The references should be replaced with your actual domain name. The following line is an example:
  5. Save the file, restart your web browser, then navigate to your website. The site will now load from the Clark Site Solutions server!
  6. To revert this change, simply remove the line you added and save the file. This will direct the site back to the original host.
  • Startup
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What is Let's Encrypt SSL?

Let’s Encrypt is a free, automated and open certificate authority (CA) that is run for the...

How does Resource Usage Affect My Website?

When it comes to shared web hosting accounts, customers will share resources and even the same...

Account Suspensions Due to Spamming

If you have been alerted that your account has been suspended due to a spamming complaint...

Domain Transfer Instructions (Primary Domain)

In order to transfer a domain name to the Clark Site Solutions Registrar our clients will need to...

Free Website Migration

We'll transfer your website for you, free of charge One of the biggest challenges for a web...

Powered by WHMCompleteSolution