How to view a site before the transfer of the domain is completed

Domain transfer is a process which can take several days to complete; in this case it may be useful to prepare the site on the new server, waiting for the conclusion of transfer. 
But in the meantime how to view with your browser, in order to verify appearance and operation?

It depends on the o.s. used on the PC you use to connect:

WINDOWS PLATFORM
 

Use a text editor to edit the hosts file located in C:\WINDOWS\system32\drivers\etc\ 
and insert the IP address that should refer the domain-

example:

92.70.70.185 mydomain.tld

You can also match a record that points to the www or to ftp

92.70.70.185 mydomain.tld www.mydomain.tld ftp.mydomain.tld

This operation is effective only from the computer where the change is made. 
Remember to delete the added row when the transfer is complete.

LINUX PLATFORM

Use a text editor to edit the hosts file located in the path /etc and insert the IP address that should refer the domain.

example:

92.70.70.185 mydomain.tld

 

You can also match a record that points to the www or to ftp

 

92.70.70.185 mydomain.tld www.mydomain.tld ftp.mydomain.tld

This operation is effective only from the computer where the change is made.
Remember to delete the added row when the transfer is complete.

Was this answer helpful? 1 Users Found This Useful (2 Votes)