How To Upload Wordpress Site To Host
An easy guide to WordPress migration
There's no shortage of reasons to desire to move your WordPress site to a new hosting account. Whether it'south stronger uptime, faster speeds, cheaper plans, or better customer service, it makes sense to switch to a provider that has what you want – but that can sometimes feel like a risky move or a lot of work.
The good news is, it doesn't accept to exist! Nosotros'll break down the WordPress migration process stride-by-step, then you lot tin avoid any fourth dimension-consuming snares.
How to Migrate a WordPress Website
- Sign upwards to a new host
- Support your website's files
- Consign your database from your existing host
- Create a MySQL database on your new host
- Edit the wp-config.php file on your website'due south files
- Import your saved database into your new host
- Upload your website's files to your new host
- Update your DNS settings
Now, let'south take it one stride at a time!
1
Sign up to a New Host
Earlier you can actually move your WordPress website from i server to another, you demand to choose your new hosting provider and sign up to a plan with them.
Which host should I transfer my WordPress site to?
You may accept already picked out your new hosting provider – in which instance yous can skip to the adjacent footstep. Simply if y'all're not sure which host to switch to, then information technology's best to identify your top priority, and so research providers who excel in that surface area.
For example, if y'all're unsatisfied with your electric current provider's uptime, then y'all might want to choose your new provider based on high uptime percentages. Or if you're tired of paying a certain amount of money, you could choose a more affordable host (we've written a guide to the cheapest WordPress hosts for simply that purpose).
You tin even choose between providers that will accept care of WordPress migration for you – which brings usa to…
Which providers will motility my WordPress site for me?
Nosotros've researched a lot of hosting providers in swell detail, and there are a few solid options if y'all want a host that will transfer a WordPress site for y'all. Namely: Bluehost, DreamHost, and A2 Hosting.
We've included a quick snapshot of each provider's ratings beneath, but you lot can click on the "Learn More than" drop-down confined if you want to have a closer expect!
Bluehost
All-time Overall Hosting Provider
Bluehost is the #ane overall provider in our hosting rankings, partly due to its neat uptime and customer service. It's also an officially recommended provider by WordPress itself. Bluehost'southward WordPress plans commencement at $2.95/month.
Bluehost offers free migration for most WordPress users. Once you've signed upward for a plan, you lot can fill up out a free migration contact form from your Bluehost dashboard. Bluehost's team of migration experts will then contact you to review your WordPress website, and determine whether information technology's eligible for complimentary migration based on factors like website size, database size, electric current secure plugins, and PHP version.
If your site is 1 of the unique cases that doesn't qualify for free Bluehost migration, then you can utilise Bluehost's paid migration service, which volition provide a more than customized feel for $149.99.
DreamHost
Best for Storage Space
DreamHost is known for its generous storage space and diverseness of hosting plans. WordPress plans start at $two.59/month.
DreamHost offers its own complimentary, automated migration plugin to migrate your site with no downtime. Free migration is included with whatsoever of DreamHost's WordPress hosting plans (these too start at $2.59/month).
DreamHost offers informative videos and walkthroughs to explain the migration process, only truthfully, you won't need them. Migrating a WordPress site to DreamHost tin can be done in a few unproblematic clicks.
A2 Hosting
Best for Customer Service & Deject Hosting
A2 Hosting excels in security and client support. If these are your most important factors, then wait no further. Only if uptime is more important to y'all, so you'll want to consider Bluehost or DreamHost instead – A2 Hosting'southward uptime guarantee is just 99.90%. Shared WordPress plans first at $ii.99/calendar month, while managed WordPress plans kickoff at $xi.99/calendar month.
A2 Hosting offers free WordPress migration with 24/vii back up from its defended Migration Specialist team. Once you've signed upwardly for a hosting programme, y'all can contact A2 Hosting's full general "Guru Crew" support team to asking a costless migration. Most WordPress migrations with A2 Hosting don't take longer than 24-48 hours.
Nevertheless undecided? Check out our ranking of the overall Best WordPress Hosts for more information.
2
Support Your Website's Files
Once you know which host you'd like to switch to, it's time to start preparing to motility your WordPress site!
First things first: information technology's incredibly important to back up all of your site'southward files to your local computer, so that you don't lose whatsoever of your hard work. This applies to anybody, fifty-fifty if your new hosting provider is moving your site for you lot, because backups are an important prophylactic mensurate regardless.
At that place are two main means to carry these backups: using a file transfer protocol, or using a WordPress plugin. Using a plugin is easier, but familiarizing yourself with file transfer protocols at present will help in pace seven, when it's time to upload these files to your new hosting business relationship.
Using file transfer protocol
A file transfer protocol (FTP) is a tool that enables you to – you guessed it – transfer files between your one-time hosting account and your local estimator, past establishing a connectedness between the server and the computer. Popular FTP programs include Transmit for Macs and FileZilla for PCs.
Once y'all've installed an FTP program, you'll need to use a Secure Shell FTP (SFTP) credential from your old hosting account to connect to the server and admission your files. Once you lot've connected, you can select and download all of the files under your website's directory.
Using plugins
Plugins are an easier way to back up your WordPress site. You can install a plugin with a few clicks, and then use its settings to manage which files you want to back up, how oft backups should happen, and where your files will exist stored.
WordPress offers over 57,000 plugins, and of those, plenty were created to assist with backups.
There are tons of options – merely make sure you choose a plugin that will back upward and restore your site, pregnant you'll be able to revert your WordPress website to whatsoever of its previously saved versions (just in case). Out of the options to a higher place, we'd go with one of the plugins on the left, since they both mention restoration in their descriptions.
Want to get the extra mile? Bank check out our total guide to securing your website for more tips.
Heads up: If you determine to transfer your WordPress site to a host with assisted migration, in that location'south no need to read on – they'll take intendance of the next steps for you lot! But if you'd prefer to take care of your WordPress migration yourself, then let'due south go into the good stuff!
3
Export Your Database From Your Existing Host
Exporting your database is a elementary procedure, and normally takes place through phpMyAdmin, an assistants tool for MySQL databases.
First, you'll need to log into the control console of your existing hosting account (the ane y'all'd similar to switch from). Most hosting providers utilise the cPanel control panel, which we're going to use in this case. If you take a different control panel, like Plesk or vDeck, then your current hosting provider tin can assist you if any of the steps differ from the below – simply most control panels will operate very similarly.
In your cPanel command panel, open up the phpMyAdmin tool in the "Databases" section.
Then, from the left hand side of the tool page, select the database you lot want to export. A new folio will load, showing the construction of the database. At the elevation of this page, select the "Export" tab. You lot'll then be able to choose betwixt "Quick" or "Custom" consign methods.
Whichever export method you choose, a download window will then pop upward and let you save the exported database as a file on your local computer.
4
Create a MySQL Database on Your New Host
Now that yous accept a copy of your database saved, information technology's time to create a new home for all of those files, and assign a user to oversee information technology. From the cPanel of your new hosting account (with the provider you've switched to), click on "MySQL Databases" in the "Databases" department.
Notation: phpMyAdmin is neat for importing and exporting databases, only don't use it to create databases or database users. phpMyAdmin doesn't map databases, which interferes with backups and restorations.
From there, you tin name your new database, and information technology volition appear in the "Current Databases" table of your cPanel account. Then, under "Add User to Database," select the user that you want to add from the User list box, and select the new database from the Database list box. You can then grant the user specific privileges, or select the "All Privileges" check box to grant the user all permissions to the database. In one case this is done, click "Make Changes," and cPanel will add the user to the new database.
5
Edit the wp-config.php File on Your Website's Files
Once yous've created the database on your new hosting account, you tin can import the old database files that you've saved to your computer. Just it's of import to edit the wp-config.php file on your local computer first, considering it's responsible for the connectedness between a WordPress website and its database.
When you starting time fix up your WordPress site with your old host, the wp-config.php file was created based on that former information. To update this information, you'll demand the following details:
- Database proper noun
- Database username
- Database countersign
- Database host
You'll take all of this data afterwards creating the database and user in the previous footstep.
You can find the wp-config.php file in the folder on your computer where you downloaded your old website files in step two. Open up this file in a text editor to make the post-obit three changes.
Height Tip: Before yous edit your wp-config.php file, make a copy of the one-time version so that you lot can restore it if anything goes incorrect in the editing procedure!
Change the database name
In the file, detect the post-obit line:
The db_name section of this line will exist ready to the database name of your old web host, and needs to exist inverse to the name of your new database.
Alter the database username
Next, discover this line:
And change the db_user department from the username of your old host to the new username you've created.
Modify the database user password
Finally, locate this line in the text:
And change the db_pass section to the new user password you created in pace four.
6
Import Your Saved Database Into Your New Host
To import your database, you can either use phpMyAdmin or the mysql command line program. We're going to explain the phpMyAdmin selection, because information technology'due south easier to use.
From your cPanel dashboard, click phpMyAdmin under the "Databases" section.
The phpMyAdmin administration folio will appear in a new window. On the left side of the admin page, select the database that yous want to import the old file into, then click "Import." Under "File to Import," click "Scan," and select the exported database file from your local computer.
7
Upload Your Website's Files to Your New Host
At present that your new database is imported, information technology's time to upload the old files that you saved in pace ii.
Employ your FTP program to connect to your new host, and discover the binder where your WordPress website is going to be stored. From there, yous can upload your files from your local computer, including the updated wp-config.php file.
You're almost at that place! But don't delete these files from your local computer once the upload is complete – it's all-time to have these on paw just in case!
8
Update Your DNS Settings
Congrats, you've fabricated it to the final step! Once your files are uploaded to your new host, you'll demand to update your domain'due south Domain Name System (DNS) settings then that they bespeak to the new server IP accost. If you don't do this, the DNS settings will however bespeak to your old host.
Your domain name registrar volition have all of the information necessary to complete this step, only annotation that it can accept up to 48 hours for your domain to fully propagate. Avoid making any changes to your website during this period, considering they'll be made on the sometime version of the site!
When this 48-hour menses is up, you lot can delete your files and database from your onetime web host – only brand sure you keep everything on your local computer as a condom precaution!
- What is DNS?
- What are the best domain name registrars?
- How much should a domain name cost?
How to Move a WordPress Site to a New Host: Summary
The quickest and easiest way to move a WordPress site to a new host is by letting your new host practise it for you. This way, the 8-stride process of WordPress migration becomes a two-pace process: simply choose a host and support your files. Choosing Bluehost, DreamHost, or A2 Hosting to migrate your site means you lot'll save time and money, since these providers will do it for free.
But you don't have to become the hands-off route, and if you'd rather motion your WordPress site yourself, let's recap the steps:
- Sign up to a new host – Choose your new provider based on what's important to you lot.
- Dorsum up your website's files – Utilise a plugin or an FTP protocol to save your files.
- Export your database from your existing host – Brainstorm the transferring process from the control panel of your one-time host.
- Create a MySQL database on your new host – Create a new dwelling for your old files.
- Edit the wp-config.php file on your website'southward files – Make sure the database information is upwards-to-engagement.
- Import your saved database into your new host – Upload your database.
- Upload your website'due south files to your new host – Upload your files from your local computer.
- Update your DNS settings – Brand certain your domain's settings point to the new server IP address.
One time broken downward, this process isn't also difficult, either – just make certain to go along saving everything as you become!
FAQs
Information technology'due south not necessary, but you can transfer your domain name to your new host if you desire to. This volition get in easier to manage and renew both your domain name and your hosting account from the same dashboard.
After you lot've migrated your site, y'all tin use a number of free online tools to confirm which provider is hosting that site.
You can cancel your old web hosting business relationship one time your DNS settings have updated. If you're cancelling your account before the finish of a prepaid term, double check the provider's refund policy to see if y'all're eligible for any money dorsum.
Source: https://www.websitebuilderexpert.com/wordpress/move-wordpress-site-new-host/
Posted by: laneprouvide.blogspot.com
0 Response to "How To Upload Wordpress Site To Host"
Post a Comment