Ok, I migrated.
Services that I have transferred:
- Gmail forward
- Mysql base
- It was simple, deleted on one host and added on another. I didn’t have to change anything with my domain registrar. When I configured it, I added the appropriate DNS entries.
- I thought I didn’t need to do anything because it’s a shared database, but it turns out I need to copy all the data and restore it to the new account. I did this using Adminer. It has easy import and export options.
- WordPress eh, scared me at first. I went to my first post about installing WordPress and noticed that the linked page had changed xD Well, this post is already worthless anyway, but a lesson for the future to make screenshots of pages.
New site: https://websiteforstudents.com/how-to-install-wordpress-on-ubuntu-linux-with-nginx/
I did everything without a database (I already have one) and Let’s Encrypt (Cloudflare provides me with an SSL certificate). Speaking about Cloudflare, I changed the IPv6 address in their configuration for the new server.
The last thing I did was copy the entire WordPress directory and overlay the old one on the new installation. That was the hardest part, because I didn’t know how to copy data from one VPS to another.
rsync -avzhe 'ssh -p 10XXX' --progress /var/www [email protected]:/var/www
Performed on the old server fixed the issue.
I used the instructions from this webpage: https://www.tecmint.com/rsync-local-remote-file-synchronization-commands/
Edit. It wasn’t.
The last thing was to change wp-config.php file to change database name, username, password and host.