I found the tutorial to be extremely helpful and easy to follow. I truly appreciate all the effort put into creating such a fantastic learning resource. Thank you!
I can't figure out the sumo vid thing in terminal. Mine looks completely different and it says not to change the entry. Is there another way to get around this?
Hi, is the part with the host file supposed to work with a shared webhost? I mean pointing to the shared IP basically leads to nowhere or somewhere but not to my specific www root structure (/var/www/myusername/httpdocs as a root for my vhost for example), does it? I personally only get there if use the domain name instead of the IP that routes the request to the given folder. But at this point I am not yet able to use the domain name. Is this video special for your provider or a provider working with cPanel administration?
Haha! Great! Now that you solved my DNS email problem for my Virtualmin on a previous video, I have about 15-20 WordPress sites to move over from my old hosting to my new VPS 😁 👍 Thanks!!
great tutorial but the moment you went in the command line editor it threw me off. People who use wordpress mostly don't want to touch any code at all, just drag and drop or an easy ui like the wordpress dashboard. Is there an easy way to achieve this?
I'm a little confused, the thing that I don't get is what address/name you use as a domain in your new hosting provider while you're working on the spoofed website?
i have host Connection error: db is ok and user has all access so what's the problem ? Unable to connect the user [user] to the host [localhost]. The server error response was: Access denied for user 'user'@'localhost' (using password: YES)'
is there a way we can untick certain plugins or other stuff that we don't want to use? If i just copy some certain plugins to the directory will it also install or do we need to use the installer?
I have a concern for this method, so if someone knows the ip address of the new web host then the other person can take over access and get the files and database? Or am I missing something? Thanks
What is the point of Changing Host file? At the Best , it is confusing, at the worst - We can just use the IP ? unless it has any impact @ Importing the file or thing like that
Because you can't have one website with 2 IP addresses, the original one (old host) already pointed to the current domain, now when you wanna make another website with the same domain name on another host(new host which means new IP address), you need to do that trick for your local computer to think that, the domain is pionted to the new IP address which is just apply for you Private) and not public. It's important specially when you wanna issue ssl for the domain on new host while still old IP pointed to your domain publically. Hopefully I could explain enough 😀
Nima is correct. Additionally, if you use an IP address to set up a WordPress site, the database gets populated with the IP address rather than the domain name and these references are hard to get rid of.
Great video. So you don't ever just simply change the nameservers? Are there any disadvantages to just updating the IP Address to the new host? As apposed to changing the name servers? Do you at some point change the nameservers?
@@TonyTeachesTech Thanks for responding. I thought you didn't go that route so you won't experience downtime. I noticed changing name servers will put a site out of commission for hours. Just wanted to know if there is some sort of con with just updating the ip address and leaving the name servers as is.
Nice video. I deployed a vultr instance of 1gb with virtualmin on a lamp stack. I experience a lot of crash due to Apache resource use. I want to migrate the site to a LEMP stack which I have deployed with nginx running. How do I migrate the site on lamp to the LEMP server. I have setup a LEMP stack with some sites running. I just want to know how to move the site on the lamp virtualmin to the LEMP virtualmin. Thanks
For a basic website, this should be pretty straightforward. Uninstall apache, install nginx, and make sure nginx points to the same public directory as apache did. It'll likely be different for each site, but in general those are the high level steps
Tony, thanks for the informative video. Is there a way to test the site with new host before changing the DNS to the new host? I also ran into the problem with connection to the mySQL database while running the install.php. It says "fails" verify host connection. Any idea what causes it? I tried host ip and no avail.
I have a db file created with updraftplus. Now they want me to pay for the "migrator" tool so i can migrate the website. Is it a way to do something else with that db-file? I managed to backup all other things but not the database. By the way, your videos and guides are fantasitc. :) keep up the good work m8. Im using a raspberry Pi for my website and webhosting and I followed your guides to configure all that, but now this!
Thanks for your reply! That's the problem, my old site and server is down and the only thing I have from it is a backup on my drive. It's not running on the Pi. I was thinking running it on the Pi using backup files but I can't recover it. Thanks anyway! ✌️
In case this helps anyone in the future: You need at least a business plan for wp.com. Then you need to do the drag & drop methods for the install. Just did it and looks like everything migrated successfully.
I found the tutorial to be extremely helpful and easy to follow. I truly appreciate all the effort put into creating such a fantastic learning resource. Thank you!
Nobody teaches the "Hosts" technique when you migrate using the same domain name. Thank you Tony!
Sure thing Ricardo :)
Wow. Super clear, right to the point. I rate this 10 out of 10!
I can't figure out the sumo vid thing in terminal. Mine looks completely different and it says not to change the entry. Is there another way to get around this?
Hi, is the part with the host file supposed to work with a shared webhost? I mean pointing to the shared IP basically leads to nowhere or somewhere but not to my specific www root structure (/var/www/myusername/httpdocs as a root for my vhost for example), does it? I personally only get there if use the domain name instead of the IP that routes the request to the given folder. But at this point I am not yet able to use the domain name. Is this video special for your provider or a provider working with cPanel administration?
Great video. I just have a great screen on my window computer after I set up my new IP address? Any thoughts on that. I went to your other video.
Congratulations on the tutorial! Do you know how to do this same process in WordPress Multisites?
Haha! Great! Now that you solved my DNS email problem for my Virtualmin on a previous video, I have about 15-20 WordPress sites to move over from my old hosting to my new VPS 😁 👍 Thanks!!
Perfect! Happy you're finding my videos helpful
true nobody, this is the first one. it seems obvious to me, but its not. thank you Tony
Asking after an year ago where did you moved all sites?
You make it seem more complicated than it actually is.
Thanks for uploading. It really helped. Appreciate it
No problem! Please subscribe for more WordPress videos from me 🙏
great tutorial but the moment you went in the command line editor it threw me off. People who use wordpress mostly don't want to touch any code at all, just drag and drop or an easy ui like the wordpress dashboard. Is there an easy way to achieve this?
I'm a little confused, the thing that I don't get is what address/name you use as a domain in your new hosting provider while you're working on the spoofed website?
I didn't do any of that stuff around the 9 minute mark and it worked fine. Just kept hitting continue, hopefuly i didn't screw anything up.
Sir, Thanks a lot, Finally the video is uploaded, Great great work.
Thank you very much :)
i have host Connection error: db is ok and user has all access so what's the problem ?
Unable to connect the user [user] to the host [localhost].
The server error response was: Access denied for user 'user'@'localhost' (using password: YES)'
is there a way we can untick certain plugins or other stuff that we don't want to use? If i just copy some certain plugins to the directory will it also install or do we need to use the installer?
Worked perfectly. Thanks.
what if between migration the old server got a new order on my woocommerce website? how to get those data?
I have a concern for this method, so if someone knows the ip address of the new web host then the other person can take over access and get the files and database? Or am I missing something? Thanks
Well done! Worked great! You are subscribed!
What is the point of Changing Host file? At the Best , it is confusing, at the worst - We can just use the IP ? unless it has any impact @ Importing the file or thing like that
Because you can't have one website with 2 IP addresses, the original one (old host) already pointed to the current domain, now when you wanna make another website with the same domain name on another host(new host which means new IP address), you need to do that trick for your local computer to think that, the domain is pionted to the new IP address which is just apply for you Private) and not public. It's important specially when you wanna issue ssl for the domain on new host while still old IP pointed to your domain publically.
Hopefully I could explain enough 😀
Nima is correct. Additionally, if you use an IP address to set up a WordPress site, the database gets populated with the IP address rather than the domain name and these references are hard to get rid of.
Great video. So you don't ever just simply change the nameservers? Are there any disadvantages to just updating the IP Address to the new host? As apposed to changing the name servers? Do you at some point change the nameservers?
You can also move the nameservers if that makes sense for your setup
@@TonyTeachesTech Thanks for responding. I thought you didn't go that route so you won't experience downtime. I noticed changing name servers will put a site out of commission for hours. Just wanted to know if there is some sort of con with just updating the ip address and leaving the name servers as is.
Nice video. I deployed a vultr instance of 1gb with virtualmin on a lamp stack. I experience a lot of crash due to Apache resource use.
I want to migrate the site to a LEMP stack which I have deployed with nginx running.
How do I migrate the site on lamp to the LEMP server.
I have setup a LEMP stack with some sites running.
I just want to know how to move the site on the lamp virtualmin to the LEMP virtualmin. Thanks
For a basic website, this should be pretty straightforward. Uninstall apache, install nginx, and make sure nginx points to the same public directory as apache did. It'll likely be different for each site, but in general those are the high level steps
Thanks brother, It’s useful 😎
Great to hear :)
I am getting a 403 error, followed exact same steps.
Tony, thanks for the informative video. Is there a way to test the site with new host before changing the DNS to the new host? I also ran into the problem with connection to the mySQL database while running the install.php. It says "fails" verify host connection. Any idea what causes it? I tried host ip and no avail.
To test a site before switching DNS, please see instructions at 4:34
I have a db file created with updraftplus. Now they want me to pay for the "migrator" tool so i can migrate the website. Is it a way to do something else with that db-file? I managed to backup all other things but not the database.
By the way, your videos and guides are fantasitc. :) keep up the good work m8.
Im using a raspberry Pi for my website and webhosting and I followed your guides to configure all that, but now this!
You should be able to just use Duplicator to migrate your site assuming that it's still running on your Pi
Thanks for your reply!
That's the problem, my old site and server is down and the only thing I have from it is a backup on my drive. It's not running on the Pi. I was thinking running it on the Pi using backup files but I can't recover it.
Thanks anyway! ✌️
Any pointers that come to mind if I need to do this but from a wordpress.org site to wordpress.com hosted?
You are transferring to wordpress.com?
@@TonyTeachesTech Correct, so far I've got a installer.php and the .daf file uploaded via SFTP but I am getting a 403 when going to the installer.
In case this helps anyone in the future: You need at least a business plan for wp.com. Then you need to do the drag & drop methods for the install. Just did it and looks like everything migrated successfully.
Using this technique Zero Downtime. XD
Thank you ,did all that using my phone 😅
Wow that's impressive :)
it did not work for me
:(
the best
Thanks!
Tooooo much jumping around/off-topic.