Skip to content

Tag: Wordpress

Migration to a new server

Ok, I migrated.

Services that I have transferred:

  1. Gmail forward
  2. Mysql base
  3. WordPress
  1. 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.
  2. 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.
  3. 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:

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:

Edit. It wasn’t.

The last thing was to change wp-config.php file to change database name, username, password and host.

WordPress on v1

What requirements does WordPress have?

PHP version 7.4 or greater.
MySQL version 5.6 or greater OR MariaDB version 10.1 or greater.
Wsparcie HTTPS

On older versions it will also work, but it is not recommended.

In the panel, we check that the system we have installed is Ubuntu 16.

WordPress instalation

Using the link:   
we do the following:

Step 1.

Step 2 is skipped. We do not install the database, we will use a shared database, the access data is in the 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 using the “Cloudflare i Mikrus” instructions: