1. Using temporary URL.
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
2. In Windows
3. In MAC
After doing this, please load the site ‘http://domain.tld’ in your browser
and check whether it is loading fine or not.