wordpress agency, wordpress agency for development, enterprise wordpress, wordpress website, wordpress developer, make a website, wordpress sites, wordpress blog, wordpress for dummies, wordpress website development, wordpress website design, wordpress design, wordpress web design, wordpress help, wordpress designer, premium wordpress themes, create a wordpress website, wordpress plugin development, wordpress theme development, build a wordpress website, wordpress website templates, wordpress web, woocommerce plugin, wordpress free website, wp themes, setting up a website, wordpress web development, wordpress homepage, wordpress cms, best wordpress sites, custom wordpress theme, wordpress for beginners, best wordpress websites, using wordpress, wordpress designs, create website using wordpress, wordpress web developer, wordpress website hosting, wordpress website examples, create new website, start a website, wordpress premium, wordpress web hosting, create wordpress, wordpress customization, wordpress plugin developer, create wordpress theme, custom wordpress development, wordpress guide, wordpress programming, wordpress design services, create wordpress blog, wordpress website tutorial, using wordpress to build a website, how to build a wordpress website, wordpress website developer, using wordpress to create a website, custom wordpress design, wordpress website designers, building a website from scratch, online site hosted by wordpress, wordpress website development company, hosted wordpress, i want to create a website, best wordpress, build website using wordpress, woocommerce wordpress, website using wordpress, make a wordpress website, setting up a wordpress site, start a wordpress blog, wordpress web design company, wordpress website development services, buy wordpress themes, custom wordpress, create wordpress site, wordpress web design services, wordpress themes for business, wordpress page, world press website, custom wordpress website, steps to create a website, websites created with wordpress, best way to create a website, wordpress web design for dummies, wordpress website design company, learn wordpress step by step, build wordpress site, building a website for dummies, using wordpress for a website, create a website from scratch, wordpress website themes, website design using wordpress, wordpress business website, best way to build a website, design wordpress theme, wordpress site design, wordpress professional, wordpress blog page, wordpress site development, how to create a website with wordpress, top wordpress sites, make a website from scratch, make a webpage, build your own wordpress website, setting up a wordpress blog, get wordpress, wordpress layouts, building a website, wordpress website design tutorial, wordpress free site, website creation, e commerce website, website design, create wordpress account, wordpress web development services, design a website, wordpress cms tutorial, setting up your own website, create your own website wordpress, website developer, website developers, best premium wordpress themes, wordpress free blog, top wordpress websites, create a blog website, build wordpress theme, webdesign, website design companies, best way to make a website, web agency, web developers, custom wordpress plugin development, web page design, wordpress malware, web design companies, ecommerce website design, designer websites, professional website design, wordpress best themes, wordpress create website free, professional website, custom wordpress website design, wordpress blog examples, wp plugin development, examples of wordpress sites, web development companies, web design agency, wordpress webpage, custom website design, mobile website design, best way to learn wordpress, web development agency, popular wordpress blogs, setting up a wordpress website, ecommerce web design, create your own wordpress theme, custom web design, ecommerce website development, wordpress web design theme, build your own wordpress site, website companies, website design agency, website development company, wordpress for business, web application development, best wordpress designers, custom website, web design tools, professional web design, web creation, design companies, web design studio, web development websites, new wordpress, ecommerce design, how to use wordpress to create a website, website design and development, wordpress website management, wordpress start, make a wordpress site, wordpress membership plugin, new wordpress website, web design and development, make wordpress, custom wordpress site, the best wordpress themes, ecommerce web development, wordpress application development, great wordpress sites, wordpress theme designer, new website design, wordpress step by step, web design portfolio, develop website using wordpress, create professional website, best web design, online wordpress, new wordpress site, wordpress tutorials for beginners, best web design company, create wordpress template, start wordpress website, themes wordpress, world press website design, build your website with wordpress, best wordpress blogs, learn to build a website, wordpress tutorial 2022, woocommerce shop, web design prices, premium wp themes, ecommerce website development company

Move WordPress to a New Host

Reading Time: 3 minutes

Table of Content:

Transferring a website on your own may seem a bit daunting at first but there is no need to be this way.

Surely, a moment will come when you will need to move your website from one hosting company to another. The reasons vary and maybe from poor hosting infrastructure and bad support to a nice offer from the new place but this is not the main theme of the article and we will not be taking time to further discuss it.

So, how can you transfer your site in several simple steps? Just follow along:

1) Make a backup of your site’s database. This can either be made by the phpMyAdmin tool and using the Export option or by using the WP-CLI command ‘wp db export’ executed via terminal from the document root folder of the website to export the database. Then you can download it locally on your device either using an FTP client or the command-line tool ‘scp’

2) Make a backup of your website’s files. If you are using cPanel you can make this via the File Manager, then go to the website’s document root folder, use the Select All option and then using the Archive option zip all the files. You can then download the archive locally. This can be done by right-clicking on the file, then press Download. Another option will be via FTP. We recommend using the popular FTP client FileZilla. You will need to have an active FTP account, then log into the server, go to the document root of the website and download the files locally or if you have already created an archive file you will only download that one archived file. Please note that if you have not made an archive initially and your site has a large number of files then the download process might take a while.

  How to Fix Stuck WordPress Emails

3) Now we move on to the new host. First, you will need to create a database on your new host, and also a database user and associate this database with the user. The process here can vary depending on the new hosts’ interface and software used.

4) Upload the backed up website files onto the new host and into the document root folder of the site. Again this can be made in several ways – via FTP is the most common way; you can also use the command-line tools such as ‘scp’ and copy the files from your device to the new host’s document root folder

5) A very important step is to update the wp-config.php file with the details of the newly created database, the new DB user and password and the new server (if there is change)

6) Once you have uploaded the files and you have created the new database and edited the wp-config.php file then you need to Import the backed up database. This can be done in several ways. If the new host is using the phpMyAdmin then you can open phpMyAdmin, navigate to the new database and use the Import option. But please note that there can be some limitations on the size of the imported file. Another option will be to upload the backed up .sql file into the new document root and to use the WP-CLI command ‘wp db import file.sql’.

  503 Service Unavailable

7) Changing the domain. If your site will use the same domain you can skip this step. But if you intend to change the domain of the website then you can now safely do it by either using the WP-CLI command ‘wp search-replace’ of by using a plugin that will do this for you. As WordPress is a domain-dependent CMS you will need to make sure that you have set the new domain to the Home URL and Site URL and also that you have replaced all occurrences of the old domain in the database.

8) Now you are all done. You can test the site on the hosts by using the hosts file and once you are okay with the new setup you can then proceed and update the DNS. You will need to either point the domain via A record or alternately change the name servers of the domain to the ones used and recommended by the new host.

Looking for WordPress Website Development for your Business?

Our professional developers have proven experience in building high-quality business websites that outperform the competition, thanks to our meticulous attention to detail and the implementation of cutting-edge technologies. We will conduct an in-depth business analysis to ensure the website we create for you meets your highest expectations. Your site will have all of the necessary elements to assist you in increasing your ROI and sales.

Contact Us

The content of this website is copyrighted and protected by Creative Commons 4.0.

Vipe Team

Author Vipe Team

Our tireless team who creates high-quality WordPress-related content for you 24/7/365.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

We have already created hundreds of profiting websites!

We have already created hundreds of profiting websites!

Subscribe to our newsletter and get our best WordPress tips!

[mc4wp_form id="8747"]