Migrate WordPress to Cpanel Web Hosting
Last Updated: October 15, 2018 | Created By: Carl Busch
We have all been there; trying to migrate a WordPress site from one server to another for whatever reason, searching for a better deal on the new hosting, your server may expire soon, and the list goes on.
Today I walk you through moving your website from about any hosting server to a Cpanel account. Cpanel is a standard interface for a Linux server. It allows you to have control on the server to add email, install software and to change some settings.
Today on UV Design Tips and Tricks, we’re going to show you how to migrate your WordPress site to a new cPanel hosting account. So you just bought your new hosting account from your hosting provider. Chances are it’s going to be cPanel. And the chances are that you have a WordPress site. So how do you move that WordPress site to cPanel? There are many different options. You could do a manual migration, and if you know how to do that, you’re probably not going to watch the tutorial.
Cpanel Migration Tool
There are different plug-ins you can use for WordPress. But we’re going to show you cPanel has a built-in migration tool that’s pretty easy and pretty quick. So what you want to do is open up one tab with your current hosting provider information on there. So you can see your website, domain name, the folder it’s linked to. Then, you’re going to go ahead and set up your cPanel account.
And you’re going to put in new your domain name. The reason we do that is to give it a shell to set up cPanel. It can be called anything, but we call it new, so that’s where we know we’re putting it at. And for this demo, I don’t care what the password is since I’m going to destroy it when it’s done. Not now. That’s for if you’re going to build a brand new WordPress install. But we’re not going to do that. And we’ll go ahead and let this set up.
Once cPanel is set up, it’ll launch you into the cPanel dashboard. Here’s the domain that we entered in. If your domain is in the same account as your cPanel account, the DNS should automatically redirect and, technically, you’ll see the landing page, since it’s pointing to the cPanel Account for us. We are going to go up here to Applications. Scroll down to WordPress. We’re going to click the little triangle for Import Existing Install.
Since we’re importing from a different server, we want to do it from a different account. Go ahead and click Continue. And then, now, it’s asking you to source information. So basically, what is the information where your current website sits at?
And that’s why we have you open up the other tab for, with your additional current hosting information. So we’re going to copy the URL. Paste it in there. The URL IP Address, we’re going to leave blank. The Protocol, we’re going to do FTP. You’re going to get the Server IP Address. So depending on your old server accounts, it’s somewhere on the dashboard. It’s right there. So we’re just going to copy that. Port is going to be 21. And then, you have up here, Files in FTP and FTP Users.
Again, your older server might look different, so you have to figure out with your old FTP settings. But this is generalizations for your old server. We’re going to use the tricks as the FTP user. And if you’re not sure of the password, you can change your password right here. The Path is where the folder sits at currently. And that’s why, also, you need to have the other tab open, so you know the folder.
So you’re going to go to Hosted Domains. And you’re going to look at the domain in the folder it’s in. Now, the folder is all capitalized here. So it needs to be all capitalized in the site’s cPanel here.
It’s going to be forward slash– Now, the reason it has to be capitalized is, on a Linux server, lower case and upper case to make a difference. If this were all lower case, that would technically be a different folder that Linux would recognize. The domain name that we want to go to is we want to go to the new.fixitinpostfilms. And we’re going to leave everything else the same. We are going to go ahead and let cPanel create that database automatically for you. And then, go ahead and import. Now, this does take a little bit of time, usually not too long. If there are any errors, the errors will show up here. And it would show you exactly what you have wrong.
So maybe you have a wrong FTP Username, Password, Path, or whatever. But the longer this process is, the better. It usually errors out pretty quickly. So we’ll just let it wait. Now, that your website’s imported in, it gives you some little pieces of information, the URL, how to get to the WP Admin, and any support that you need from that application that you’re using. So you can go back up here, to where we see the landing page. And you refresh. And then, boom. Your site is there. I always do tell people to make sure you go through it. Make sure everything came over correctly and is working, all the links are working.
Again, this is just a test site. I didn’t build this out or anything. But it is a working website with the links and stuff. So now, after you’ve done that, now, you need to move the domain over. So you need to go back to your old hosting. And you need to remove the domain from that platform because you can’t have the same domain on two different servers because the domain wouldn’t know what to do with itself if you did. So go ahead and remove that. And then, now, we have to wait for this to remove. On older servers, I’ve seen it take five minutes. I’ve seen it take up to a couple of hours. It is what it is. No one can speed it up. You can’t call your hosting people and be like, make this happen because I’ve worked for a hosting company for two years and I know you can’t make it go faster.
So you are patient. Now, with your domain being removed from your old hosting account, let’s go ahead and bring the dashboard up for your new cPanel account. So again, here, you have the information from the import. That’s not the correct domain. So there are a couple of different ways– actually, there’s only one way to change the domain. Just type in a domain. Change Main Domain. Click on that. And that will take you out. Different hosting providers have different links up here in the URL. But this will take you to the dashboard where you need to change that.
Now, this loads up here. If your cPanel account resides in the same location as where your domain is hosted at, usually you click here. Select a domain from your account. And choose that. And then, click Change Domain. cPanel does this pretty fast. It doesn’t take very long to do that. Once it’s changed, the screen should refresh. And you should be able to see, now, that your cPanel account is in that domain. And if we’re lucky enough, since cPanel should change the primary domain’s prefixes and permalinks inside, Installatron.
Remember, Installatron is where we did the import for that. It should change all of the links and stuff for our WordPress site, instead of being new. On all the links, everything now should be reverted to the normal domain. And of course, everything is moving very slowly today. And see how the new is gone right there? So perfect. That’s what we want. Again, you can click, literally, right on that. And it will take you there.
Now, you’re wondering maybe is it just residing to the old IP address? That’s a great question. How do you check that? Well, there are different ways to correct that. You have your IP address here. You can go to a website called whatsmydns.net. It’s a great tool to know where your domain is pointing at and what’s going on with your domain. So you click that. 107, that’s my IP address. 107, so that is a beautiful thing.
So now, you have just, manually– not manually. I guess you didn’t Manually migrate to– well, you manually entered the information to migrate your WordPress site. You let cPanel migrate you. And you made it automatically change the permalink and the database from new to your domain name.
And that’s it. Go ahead and hit the Like button, if you like this tutorial. And if you’re interested in more tips and tricks for hosting, website design, server maintenance go ahead and hit subscribe. Catch you later.