Move a WordPress site to your web hosting
How to bring an existing WordPress site over: the files, the database and the address change.
1. Take a copy at the old host
A WordPress site is its files and its database.
- Files: download the whole site folder, the one that holds
wp-config.php, with FTP or the old host's file manager. - Database: in phpMyAdmin at the old host, select the site's database, choose Export and keep the SQL format.
2. Upload the files
Open the web hosting service in your dashboard. The Files card uploads files of up to 95 MB each. For a whole site FTP is quicker: the FTP server and user are under Access, and Show reveals the password. Put the files into the website's folder so that wp-config.php lies directly in it.
3. Import the database
Access also shows the database name, the database user and a phpMyAdmin link. Open it, select the database, choose Import and pick the SQL file.
4. Connect WordPress to the new database
Open wp-config.php in the Files card and set DB_NAME, DB_USER and DB_PASSWORD to the values under Access. DB_HOST stays localhost.
5. Point the domain
Change the domain's two A records to the IP address in the Website card. When the card says that the domain points to the server, press Turn on HTTPS. Visitors reach the old host until the change has spread, so keep it running for a day.