In occasions when performing a migration, as well as in other circumstances, you will need to check the web content hosted with us, but keeping the server that your domain name is currently pointing to. This allows you to see that everything is working as expected before pointing your current domain to the SW Hosting server.
Our Hosting gives you the freedom to tailor your website to your brand and goals.
We show you how to perform this check with each operating system.
C:\Windows\System32\drivers\etc\hosts
.81.25.123.45 swhosting.com www.swhosting.com
.Now, when you access "swhosting.com", you will access it through the IP you have specified in the file (81.25.123.45) instead of the one the domain actually points to. These changes only affect the computer on which you have modified the "hosts" file.
For your domain to point to the new server for real, you will have to modify the domain nameserver or DNS zone (A record).
info Remember that you will have to delete this new line that you have just added.
Get the most out of your project with the fastest disks and most powerful CPUs in the Cloud.
sudo nano /private/etc/hosts
.81.25.123.45 swhosting.com www.swhosting.com
.Ctrl + O (letter, not number)
.Ctrl + X
.dscacheutil -flushchache
.Now, when you access "swhosting.com", you will access it through the IP you have specified in the file (81.25.123.45) instead of the one the domain actually points to. These changes only affect the computer on which you have modified the "hosts" file.
For your domain to point to the new server for real, you will have to modify the domain nameserver or DNS zone (A record).
info Remember that you will have to delete this new line that you have just added.
sudo nano /etc/hosts
.81.25.123.45 swhosting.com www.swhosting.com
.Ctrl + O (letter, not number)
.Ctrl + X
.Now, when you access "swhosting.com", you will access it through the IP you have specified in the file (81.25.123.45) instead of the one the domain actually points to. These changes only affect the computer on which you have modified the "hosts" file.
For your domain to point to the new server for real, you will have to modify the domain nameserver (DNS servers) or the DNS zone (A record).
info Remember that you will have to delete this new line that you have just added.