 Well, I'm not playing with firewalls driving around the clients building infrastructure running my business or making YouTube videos Even though that's kind of what I'm doing right now. I also do hosting and manage WordPress sites for quite a few of our clients and for my hosting platform and What I'm gonna do today is we're doing a migration and I'm doing a migration between my own servers So I'm not worried about any of the information being a past crosshairs We try to keep if you've noticed a lot of our client stuff fairly private We respect their privacy a lot and so I don't always cover the details of their sites But I will cover anything we're working on so we're launching a new website And I'm also at the same time moving over to some new hosting and this seems like a good time to cover because I'm doing it anyways How I migrated WordPress site? I've been a fan of this tool There's probably another one out there and maybe someone will suggest a few of them And I can take a look at them But I've always liked this one called duplicator WordPress migration plug-in by snap greek pretty straightforward I don't have a ton of sites. I'm angry a lot of times we're developing new websites for companies But when we do have to migrate them like between this is server to server This is an easy way to grab a backup of the website create a file and create an installer And I'll bring you through real quick how this works. It's just really slick So I've already got this installed. I installed it through the WordPress control panel I've activated it and it shows up down here under duplicator. Whoops All right, so you go down here to duplicator and to refresh the page it logged me out and We're going to create a new Download so we're gonna go here We can leave everything at default. So we'll go next It's gonna scan the site this takes a minute and we'll see what files have errors All right, a couple of the files are a little bit big and let me see if I really need these No big deal just gave me a warning. So we'll go ahead and say yes continue with the build process What it'll tell you is if there's some files that are bigger or larger for some reason Kind of gives you a size check and go these might be a problem It'll compress them But in case that fails for any reason it those are usually files look at and there are a couple uploads We did for some PDFs Not a big deal, but this is something that will do when it checks this is make sure that you have the right thing So everything else is good notice on the file size. No big deal. Let me go check this as a yes We go to build and it builds the package All right now the package is built and we need these two pieces here we need the installer and We need the archive and I was moving some other sites. So it actually gave you the name installer to All right now here comes the fun part where I get the file over You can and I have the cPanel open here. You can upload that file via the interface through cPanel That's one way to do it. I'm a Linux guy. I like when scp. So I just scp the file That's the way I'll do it, but you can use a lot of different tools However, your methodology is for getting that file over there That's the idea actually for a lot of people files ill it might be a popular option for copying it over So I guess we could use that as an option and just put the host name in Username password and away you go, but I'm in for expediency and I'm not the hugest fan of files ill because I don't I like doing things You know command lines and we're like that. I'll show you how I do it my normally with scp Now I always set up all my SSH logins to be non interactive and no passwords With SSH keys that way I can get right in if you notice my SSH and it does not Push me it does not ask for a password That's I always like to answer that because that way when you're doing things like scp scp dash P7 822. I mean the file name I downloaded which was 217 That's not the right one I'm in the wrong folder. Hold on downloads scp dash P That's because SFTP is not on the default port 22 There's the file And it goes to LT s creative Which is your login for cPanel and then the IP address? Now if you've already moved over the hosting and I haven't yet if you notice I have over here at the top manage domains hover I will move over to hosting once I have all the files copied over I'll go ahead and point the domain at the new host for now. It's still pointed at the old host All right, so both these files are copied over they're complete so now We can go ahead and switch to domains, which I'll switch real quick over here And this moves the name servers over to mine. I've already now I've changed them and away we go All right, so there's the site right now is blank And we're going to we copy these two files over here now if we look here's the directories and we want it in The public HTML directory right here. It's also alias to this if we do You can see WWW is an alias for that. There's the file we need here and there's the installers We're actually going to do a quick move So we move the 207 moment one move it to WWW. We're going to move installer dot PHP WWW this is the dangerous moment if I were not to if you knew with that installer dot PHP was right now on this website at This moment without me running it you would suddenly be able to have access to that file and download it So there is like some minimal amount of risk All right files are all copied over. So now we're actually going to run this installer dot PHP. I have read the notes paladation options Everything here looks good. I just everything default for for a multiple when I've used always worked If there's not then go back in here They have some articles tutorials and some forums, but I read the term of the edition when I start the deployment All right, so that's finally done now. We got to create the Database user to make this work. This is the one thing you do have to do through the cPanel Now they actually have an option there to log into the cPanel and do it like any They have an option if you get the pro version automatically do this for you I'm just going to do it the manual way because it's really not that hard to do So we need to create a database a user and a password. So let's go ahead and jump in here and do that So we'll create a database was called wp for WordPress. I love short names when possible One rational I should say all right now. We have to add a new user wp user one. I have a strong password already set up over here paste that password in Create user Now we're almost done. The user's created. Nope. Don't need this to save it Please use good passwords. I mean you're only going to put these in once So pretty much user all complicated ones Then we have the user and in the database and we're going to go do an ad And you want to give the user all the privileges so we can finish creating it. So we're gonna make the changes Alright now we kind of got a copy paste some of this back over to the duplicator So I'll go ahead and put the password in And I got to blur that out because it doesn't show it to you The database was LTS create underscore WP no problem right there and Then the user was LTS create you WP user one And that's going to go here. So database user everything else the same as local host I just kind of this is blurred out because well, I can't show you my password Success we are in next Once to confirm these settings that you're gonna go with them Installing database Yep, all that looks good. I'm gonna leave all this at default. These are Any of the options in case I want to change anything but we're gonna say next and We're done site login This site has been successfully migrated Remove the installation files now. This is important because if I didn't do this by the time you watch this video You guys could jump in and look at that file name and reactivate and redownload this So you definitely want to remove the site installation files when you're done because they're sitting in the root So this actually deletes all of those file removed good to go The sites completely migrated Okay sites loaded So I say I have some optimizations to do this is something else we're working on We like making cool websites and this has some cool 3d stuff that my designers working on So you guys can look at it, but a lot of this still has some lorem ipsum in here So not done yet. We're still working progress. Anyways, that's the site migration tool That duplicated the site duplicator program works. Well, we migrate a lot of sites with it It you can see not a lot of steps I cut out some of the time in here because some of it's just waiting for the filed upload waiting for the file to copy And when it does the install it waits a few minutes, but other than that it works great We get sites moving with this. Alright, hopefully this was helpful Maybe I'll do if there's a lot of requests for it some more WordPress videos. I mostly do fixing of WordPress I don't do the design Melissa my designer does all of that right now I just fix sites and fix problems that people create when they actually break templates and things like that and of course Do some of the back-end work. Anyways, if you like to come here like and subscribe and thanks for watching