Wow. I didn’t expect to receive so much spam from the contact form. To protect it, I turned on reCAPTCHA (v3).
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.
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.
What requirements does WordPress have?
On older versions it will also work, but it is not recommended.
In the mikr.us panel, we check that the system we have installed is Ubuntu 16.
Using the link:
we do the following:
Step 2 is skipped. We do not install the database, we will use a shared database, the access data is in the mikr.us panel. InstruBazy danych nie instalujemy, będziemy korzystać z bazy współdzielonej, dane dostępowe znajdują się w panelu mikr.usa. Manual:
Step 3. Install PHP 7.4 using the instructions at:
Ad-on modules and final configuration take from the first ling changing 7.1 to 7.4
Step 4. Nope
Step 5 – 9. We follow the instructions. We get the data for database configuration from panel. And in nginx configuration change
That’s it, wordpress works and it’s great. Only the address is weak, because it looks like this: http://[1080:0:0:0:8:800:200C:417A].
If we have a domain then we can redirect it to mikr.us using the “Cloudflare i Mikrus” instructions: