Want to move your WordPress website to another host? With this step-by-step guide you move your site without your visitors noticing: you make a copy, test it, and only then switch your domain. Your old site keeps running until the new one works.
Moving to us? Then we also do it for you, for free. Read more about our WordPress hosting.
Rather not do it yourself? With every web hosting plan we move your WordPress website for free. Request a migration.
Short answer: move WordPress in 5 steps
- Make a full backup of your site: the files and the database.
- Put the copy on your new hosting, with a plugin or by hand.
- Test the copy through your hosts file, while your domain still points to your old host.
- Point your domain to the new host.
- Turn on SSL and check your pages, forms and email.
You can move a small site yourself in about an hour. Switching your domain can then take up to 48 hours.
Before you start
- Update everything. Update WordPress, your plugins and your theme on your old site. Our web hosting runs PHP 8.3 (November 2026), and old plugins sometimes don't work with it.
- Make a backup. Download your files and your database, also when you use a plugin. That way you can always go back.
- Find your logins. You need access to your old hosting, your new hosting and the place where your domain's DNS is managed, often your domain registrar.
- Lower the TTL. A day before, set the TTL of your records at your current DNS provider lower, for example to 300 seconds. If the TTL is longer than a day now, start earlier.
- Freeze your site. From now on change nothing on your old site, or repeat your changes on the new one afterwards.
Option 1: let us move it for free
Every web hosting plan comes with a free migration:
- Order your web hosting plan.
- Send a migration request with your current host and what needs to move.
- We copy your files and database and check that everything works. Then you test the site and switch your domain.
Never put passwords in an email or the contact form. In the ticket we open after your request you can upload, for example, a backup from cPanel, DirectAdmin or Plesk.
Option 2: move it yourself with a plugin
A migration plugin packs your whole site into one file and unpacks it on the new host. We use All-in-One WP Migration as the example; Duplicator and UpdraftPlus work in a similar way.
- Install WordPress on your domain with the WordPress Manager. You don't need to wait for the certificate now.
- Install All-in-One WP Migration on your old site. Go to All-in-One WP Migration > Export, choose Export Site To > File and download the file.
- Add the line to your hosts file (see "Test the copy" below), log in to the new site, install the same plugin there and go to All-in-One WP Migration > Import. Choose Import From > File, select your file and confirm with Proceed.
- Log in again with the login details of your old site. Go to Settings > Permalinks and click Save Changes.
The Import screen shows the maximum file size. Is your site bigger? Then move it by hand or request the free migration.
Option 3: move it yourself by hand
This works for every site, also for big ones. You move two things: the files and the database.
- Download all files of your site from your old host as a zip and export the database as a
.sqlfile, for example with phpMyAdmin. - In DirectAdmin, go to Account Manager > Databases and create a new database. DirectAdmin then shows the name, user, password and host name.
- Click Manage next to that database, then Import, and choose your
.sqlfile. - Upload the zip with File Manager to
domains/yourdomain.com/public_html, unpack it and delete any oldindex.html. - Open
wp-config.phpand enter the new details atDB_NAME,DB_USER,DB_PASSWORDandDB_HOST.
That file and the database screen show your database password: never share them, not even as a screenshot.
Is your domain name changing too? Then the database still has links to your old domain. Replace them with a plugin such as Better Search Replace. Don't do it with find and replace in the .sql file: WordPress stores some settings in a form that breaks when you do.
Test the copy before you switch
Your domain still points to your old host. With the hosts file only your own computer sees the copy on our servers:
- Start Notepad as administrator and open
C:\Windows\System32\drivers\etc\hosts. On a Mac, typesudo nano /etc/hostsin Terminal. - Add this line at the bottom, with your own domain, and save:
87.76.153.137 yourdomain.com www.yourdomain.com - Type
ipconfig /flushdnsin a command prompt and open your site in a private window.
Your browser will probably warn about the certificate: your free certificate only comes after the switch. Click through for this test, check your pages, forms and wp-admin, and remove the line afterwards.
Switch your domain
- Is your email at your old host too? Create your mailboxes with us first, see set up email. Your mail doesn't move along with WordPress.
- Then point your domain to us with our nameservers or with A records to 87.76.153.137, see Connect your domain.
- That can take up to 48 hours, so keep your old hosting for a few more days.
You don't have to transfer the domain itself: it can stay with your current registrar. You only change where it points.
After the switch: SSL and checks
As soon as your domain points to us, DirectAdmin requests a free certificate by itself within 24 hours. Faster? Start the request under Account Manager > SSL/TLS Certificates, see Free SSL certificate. Only turn on Force SSL with https redirect when the certificate is valid.
Then check:
- your most important pages, in a private window;
- your contact form, with a test message;
- wp-admin, and whether all your plugins are active;
- your email, with a test mail to your own addresses.
Only cancel your old hosting when everything has worked well for a few days.
Problems after moving
"Error establishing a database connection"
WordPress can't reach the database. Check in wp-config.php that DB_NAME, DB_USER, DB_PASSWORD and DB_HOST match exactly what DirectAdmin shows for your database.
A white page or a 500 error
Often a plugin or theme doesn't work with PHP 8.3. In File Manager, rename the folder wp-content/plugins to plugins-off for a moment. If your site works then, put the old name back and turn your plugins on again one by one in wp-admin.
Only the home page works, other pages give a 404
Go to Settings > Permalinks and click Save Changes. WordPress then creates the rules for your links again.
A warning at the padlock after turning on SSL
Some images or scripts still load over http://. Set both addresses under Settings > General to https:// and replace the old http:// links with Better Search Replace.
Frequently asked questions
How long does it take to move a WordPress website?
You can move a small site yourself in about an hour. After that it can take up to 48 hours before everyone sees your site on the new host, because DNS changes need time. With a low TTL it is usually much faster.
Is my website offline during the move?
No. Your old site keeps running while you make and test the copy. Visitors only go to the new host when you switch your domain.
What does a WordPress migration cost?
With us nothing: the migration is free with every web hosting plan. Moving it yourself is free too, although the free versions of migration plugins have a limit on the size of your site.
Does my email move along?
No. A migration plugin only moves WordPress. Create your mailboxes with us first and only then switch your domain.
Do I have to transfer my domain too?
No. Your domain can stay with your current registrar. You only change the DNS so that it points to your new hosting.
Stuck somewhere? Contact us.