change website domain


I currently have my site running on another server. I created a new vps and set up the domain … When completing the migration of my site I would like to change the site name to

How should I proceed?

I thank you for your attention.

It is not possible to change the domain of existing website, on your new VPS you can use the same domain.

After completing the transfer you can use /etc/host` on linux to temporary point IP of your website to new VPS and check if transfer went sucessfull.

To update IP on windows you can look at this guide: /etc/hosts on Windows · GitHub