1. Using temporary URL.

———–
http://IPaddress/~username
———–

But checking sites using this method has some limitations. Often sites won’t be
displayed properly & sometimes database connection won’t be established.

2. Using temporary DNS

We recommend this method as it is the best way to check your sites.

To check whether your sites will load fine from the new server, you can follow
the below mentioned steps.

Basically, you need to add following line in a file named “hosts”.

===========================
xxx.xxx.xxx.xxx domain.tld domain.tld
===========================

Here xxx.xxx.xxx.xxx is the IP address of the new server .

This file is located in different places in different operating systems.

1. In Linux/UNIX
================

/etc/hosts

2. In Windows
=============

C:\WINDOWS\system32\drivers\etc\hosts

3. In MAC
==========

/private/etc/hosts

After doing this, please load the site ‘http://domain.tld’ in your browser
and check whether it is loading fine or not.

Leave a Reply