Search The Hostwinds Guides Knowledge Base

Migrating WordPress Website to WordPress Application Server

Share This Article [TheChamp-Sharing]

First, you will need to access your server via FTP. If you need help with this, see our LAMP Stack Overview guide, which explains how to do so.

Once you’ve accessed your server via FTP, navigate to /var/www/html

This is your default directory for your WordPress application. You’ll want to download or save the wp-config.php file on your server – this file is important!

You’ll need to have the files/directories from your current WordPress installation, so you can upload them all (but the wp-config.php file) to your new server under the /var/www/html directory.

Any instances where the FTP software requests to overwrite, select to do so for all instances of your upload.

Now you’ll need to have a full MySQL backup of your current WordPress installation:



You’ll be importing your current MySQL database to the database named appdb on your WordPress Application server. To do so, upload your backed up database to the root directory of your server. This can be done via FTP. Simply navigate to your server’s /root directory and upload your backed up database.

From there, you’ll run the following command on your server in shell:


mysql appdb < YourMySQLDataBase.sql


As long as you’ve ensured you did NOT overwrite your wp-config.php file that came with your server, you should be done!