How i can move my wordpress site to a linux VPS?

MartonB

Regular Member
Joined
Aug 20, 2019
Messages
285
Reaction score
70
I'm trying to move my WordPress website fully from shared hosting to a VPS. I don't have any idea to do so. all I know maybe WordPress migration is not that simple.
 
Copy files, copy db, edit vhosts settings and you are done. I know it can be scary for the first time. You could ask for free migration if your vps provider provides it. Probably, @feezioxiii does that.

Edit: I assume that you already have LAMP installed on your server. Otherwise, there won't be any vhost settings etc lol. I think the best way would be to get it done by the vps provider.
 
Last edited:
1. Download virtualmin

. Backup Public_HTML, Backup Database

2. Install Wordpress on Virtualmin

3. Install Plugins and Update everything that was in previous server manually. Change name and title description.

Fortunately for me I have extra domains to work around with so idk how it would work with a server that has no domain.

4. Execute current MYSQL database with Backup Database.

5. Everything should be in order. For huge wp-content uploads it is advisable to zip each month of upload so there's room to extract in the folders if you don't have enough space. You can do it manually too but it usually takes so much time(3 days) as opposed to a few hours via zip files.

*Upload using filezilla
*Files must be in .ZIP format not .RAR as VMIN doesn't read it properly
*Extract in VirtualMin
*Can't post links but these are originally the ideas of the vmin creator(Joe) and some I take it from above advice and elsewhere
 
Set your DNS to cloudflare

Get a linux VPS with ubuntu (16.04 or 18.04)

Use Putty to login to server with SSH with root username and password.

Use easyengine (dot) io homepage setup instructions

After you install easyengine with the 'wget' command, create a site by typing in

ee site create yourdomain.com --type=wp

Then it will work for a minute and spit out credentials

As long as you pointed your cloudflare right you should be able to login and have SSL on your site.

Installing wordpress this way makes it run on nginx which makes your site a lot faster and able to handle more traffic.

If you need me to help just pm me.
 
Copy files, copy db, edit vhosts settings and you are done. I know it can be scary for the first time. You could ask for free migration if your vps provider provides it. Probably, @feezioxiii does that.

Edit: I assume that you already have LAMP installed on your server. Otherwise, there won't be any vhost settings etc lol. I think the best way would be to get it done by the vps provider.
Hey! Thank you for tagging me in :D Unfortunately we don't do Linux hosting atm!

I'm trying to move my WordPress website fully from shared hosting to a VPS. I don't have any idea to do so. all I know maybe WordPress migration is not that simple.
If you are not interested in learning server's side of thing, I would strongly recommend installing an identical control panel that you are currently using with your shared hosting provider (such as Cpanel, Plesk, Direct Admin, Cyber Panel, Virtualmin, VestaCP, ...). Most panels will have one-click "export/import" function, you might have to adjust some smalls settings after the migration, but it should be pretty straight forward and can be easily searched on the web.

Another recommendation of mine is that you should do a test import run, if everything is set up correctly, you can proceed the migration of your production site (make sure you put your website in maintenance mode before the migration to prevent any data inconsistency). If something went wrong with the import or the site not working after the import, find out why (because it's a test-run so it shouldn't affect your main site), try to solve the issue, note all steps, and re-do it with you main site.

There shouldn't be any issue if you export/import under the same control panel, migrations between 2 different panels might have issues though.
 
You cam do it manually by FTP client. Get all your website data into your PC and move to VPS as you want.
 
install plugin "Duplicator", moving wp is a piece of cake

+1

This plugin approach should be the easiest, no need to flirt with the environment setups.

Or use another plugin called all in one seo migration, but watch out sometimes this plugin fails without giving any reasons lol.

First start a new empty wordpress on your Linux VPS, then use plugins mentioned to move.


Good luck.
 
I'm trying to move my WordPress website fully from shared hosting to a VPS. I don't have any idea to do so. all I know maybe WordPress migration is not that simple.
I suggest installing fresh WordPress in your VPS Linux then install a plugin that can migrate/clone your existing website.

Here's the list of top migration plugins:
  1. Duplicator
  2. All-In-One WordPress Migration
  3. BackupBuddy
  4. WP Migrate DB
  5. UpdraftPlus
  6. Migrate Guru
  7. VaultPress
  8. Super Backup and Clone
 
Depends on your Linux vps architecture check your hosting tuts they generally make guides for these kind of stuff
 
1) I assume you have Lamp on your new VPS
2) Compress the Web Files to Zip on old server
3) Export your DB from phpmyadmin on old server
4) Create a new DB on your VPS
5) Import the old DB to New one.
6) Upload and uncompress Backup to VPS Web server Directory.
7) Edit the WP config files to suit your new DB
8) Restart Apache.
9) Check website on new host.

Hope all is intact.
 
I've finally successfully moved my Wordpress site with a 0% issue on ubuntu 18.

1 - I generated a BACK UP for my WordPress website using Duplicator. the file was about 800MB. my internet is shit so it probably takes all the day to download and upload the backup file to my Linux VPS, so I used Windows VPS to do the process.
2 - I used the @[URL='https://www.blackhatworld.com/members/sadjester.927746/']SadJester [/URL]method to install a fresh WordPress website. after I got the credential, WordPress login, DB name&password - all good
3 - I installed the file manager PLUGIN on the fresh WordPress created by Easyengine
4 - I uploaded the generated back-up by Duplicator to the file manager with the installed.php file
5 - I deleted all the Wordpress files on the file manager but not Duplicator backup and INSTALLER.php (so no more WordPress. like just empty host with 2 files)
6 - accessed the site using example.com/installer.php & followed the process put the DB info given by Easyengine
7 - BINGO

This method was pretty simple for me, I had no issue at all. the site worked as it was before the same and better.
Thank you all for helping and making this thread awesome
 
Back
Top