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?

Also Read

What is DNS propagation?

Every time you make a change to the DNS servers of your domain, or you modify any DNS record, you...

What is a "Glue Record"?

Glue records are A records that are associated with NS records to provide "bootstrapping"...

Why can't I create a CNAME record for the root record?

A CNAME record can't be defined as root record of a domain name: root record need to be an A...

Gestione dei DNS Record Sets

Quando si gestiscono numerosi domini che utilizzano i medesimi servizi, capita di doverne...

Recommended DNS TTL values

When specifying TTL (Time To Live) values in DNS records, please be aware of the following...