To view the latest version of this tutorial (updated for 2021), including domain name and SSL configuration: onepagezen.com/migrate-wordpress-aws View this tutorial with each step listed individually with pictures: www.onepagezen.com/migrate-wordpress-aws
Even though I'm watching this video after I've already figured out most of what needs to be done, I must thank you amply for this video. Succinctly done. Not confusing at all. AND RELEVANT 3 YEARS LATER! Have had to go through a bunch of unstrung videos to figure out half the processes you've demonstrated in such simple terms here. Essentially, the algorithm you've used to get the work done is 10 times less cumbersome than what the other videos recommended.
For those interested in obtaining SSL. Once logged into the bitnami console, before doing any redirect, run the following command: sudo /opt/bitnami/bncert-tool This will take you through a series of questions that the console will ask you for SSL configuration, just type yes or not (Y or N) in each one of them. It will also ask you about the www to non www redirection and vice versa which means you can do both steps when installing SSL, turned out to be more useful and simple.
Hi, Thanks for such a useful video. As you mentioned in your video, our back file size is more than 520MB. Please could you share the link of video in which you have explained what changes need to be made to upload that oversize backup file? Thanks
Hi great tutorial. Can you answer the following questions: 1) What if you are running a new word press site. Is it better to create a domain name on route 53? 2)Also, when you install WordPress, is the storage on the root volume of the instance? But, if the root volume accidentally is terminated or deleted will we not lose the data? How do we install on WordPress on additional volume?
Thank you this video was very helpful. I have a wordpress site running on my localhost, is it possible to deploy this on aws. I'm guessing it would be a similar process as shown in the video. However when it comes to the stage of transferring the database I can not use the same steps since my website is not live. In this scenario how would I go about transferring my database to the aws wordpress instance ?
Hey. Thanks for the awesome tutorial. But how do you increase max_upload_size in aws? I mean I couldn't find the php.ini file? And how do you have the max upload to 512 MB? where as I just have 40 MB
hello. im currently with go daddy and due to reinstate another year in a week but id like an open source so if i go through this process once i tranfer over is the maintenance easy ?
Thank you for this. Can multiple websites be migrated to a single EC2 instance repeating each step you've followed or I need to create separate instance? Also, can I create a hosted zone for subdomain instead of root domain?
Hi.. i have my site ready with me..i want to transfer that into AWS server. Your video is really helpful but i don't get where do i can upload my database...and after that what settings do i need to change....Please help.
The new default update file size is only 40MB. Your old tutorial refer to the wrong line. New code line start at line 350. The setting seem to look different too. // ================= // = Max File Size = // ================= define( 'AI1WM_MAX_FILE_SIZE', 2
Hello, I just want to ask if this process possible to work if I have a finalized localhost wordpress website or it will ask me to rebuild it from the beginning?
After my wordpress to AWS Ec2 migration, I am unable to create a new post or edit existing posts, rest of the admin is working fine, and database looks like connected as well, but it just can't add or edit posts, White screen shows "There has been a critical error on this website. Please check your site admin email inbox for instructions.". Any guess why it is so? help will be appreciated.
Why two domains are essential? What if the first domain is yahoo.com? All information would be gone by the transformation mentioned in the second steps?
Hey, So I have finally got it done. And it's working. :) I have one more question. If I make changes on my old wordpress.com website, it do not reflect in the new website. So it do not sync automatically. Is it possible to achieve that?
Just a question before I start this process. I have my site built already on localhost so if I'm moving from localhost using wamp to a live server, when I'm doing the migration step exporting the file with the all-in-one plugin, would I simply just replace my localhost url with the new domain I register and it essentially works the same as this?
Great Tutorial. You should do this for a living! Question. If the wp site that i want to import is a wpmu, do I have to configure the aws wp installation to be a wpmu before importing? Thanks Lloyd
Dear Sir its a great tutorial! very helpful and easy to understand. I also wish to know how I can access the FTP folder of my wordpress installation and also the PHP admin SQL database. In some cases it becomes essential to access these two areas while managing a wordpress website.
Hello Vape, I currently only have these guides for Google Cloud: Here is a guide for FTP: www.onepagezen.com/phpmyadmin-ssh-tunnel/ Here is a guide for phpMyAdmin: www.onepagezen.com/phpmyadmin-ssh-tunnel/ Let me know if you have any questions, Joe
Nice and concise explanation on how to move existing wordpress site to AWS. Is the free tier AMI good enough for a website which has less than 500 visitors per month?
Sir I saw one tutorial before yours. And they use Elastic Ip and ask us to Change A record from hosting with the elastic ip that we allocated to the instance. And now some time when user came from search engine blog show them that elastic ip address instead of domain name. Please help us.
Thanks for this tutorial. The issue I am having right now (after migrating my exiting site). I migrated the same website that has a valid SSL certificate (https) and after the migration to my AWS and Google cloud the SSL certificate (https) is not showing. Then I followed your tutorial to setup ssl certificate, and after I did not it ended with an error. When I restarted my apache it said aborted. And the https error still continues. Was I wrong setting up an ssl certificate on a site that already has one from an old hosting service?
Helpful tutorial. I managed to execute this. However, I can not access the aws wordpress website as an admin when I use the old login. so I am locked out of the website to make any changes though it is running live. What can I do.
Hi, great tutorial. Every instruction was clear and simple to execute. However I'm stuck at the All-in-one migration part. So im migrating my existing website to the wp on AWS, but both domains are the same. Meaning unlike your example, I decided to migrate my website without changing to a new domain name. Is this possible? Also, will I lose the SEO that I have for my existing website after the migration?
Hi Kenneth, There should be less steps involved if you're using the same domain, seeing as you won't have to use the 'find and replace' feature. Also, the migration shouldn't affect your SEO since your're using the same domain name.
This is expected behavior. You can configure a redirect in Apache by following the instructions here: www.digitalocean.com/community/questions/redirect-ip-address-to-domain-name-apache
After this sudo /opt/bitnami/ctlscript.sh restart apache Unmonitored apache Syntax OK /opt/bitnami/apache2/scripts/ctl.sh : httpd stopped Syntax OK /opt/bitnami/apache2/scripts/ctl.sh : httpd started at port 80 Monitored apache my Domain name not showing... can u Help me?
You would have to migrate those DNS records to AWS as well. If it's something you're not familiar with, or if your operations are dependent on your existing mail setup, then I would forgo migrating to AWS.
Hi Sir, I have created the first step and started adding the content in wp since a month but i have not done second step. I did second step today and i am able to go to www.example.com but when i use the ipAddress in browser it is not working. It says server IP address can't be found. I am using Elastic IP, so the ipAddress is same too, why do you think my domain name works and not my ipAddress, kindly enlighten me.
Check out this guide for migrating the application manually: docs.bitnami.com/aws/how-to/migrate-php-application/ Also, check out the tutorial for increasing the upload limit for the all-in-one migration plugin (make sure to use the older version of the tutorial, see the link at top of tutorial page): www.onepagezen.com/all-in-one-wp-migration-unlimited-extension-free/
aws o google cloud platform, if someone can share their experiences, please? (just wanna know which is better cause I’m about to migrate) Thanks in advance
You can use any of the migration plugins - they should all work. It's possible you may run into a permission issue, but likely nothing beyond that. Give it a try and let me know if you have questions!
Everything work for me with this tutorial, with a final exception, MY OLD WORPDRESS SITE PASSWORD DOT WORK ON NEW SD2 SITE, when i used all-in-one wp Migrate plugin for import, at the end warning about the old site was build on php5 and the new site ec2 is build on php7. That was the problem? or any other idea why my old worpdress password is not working? Please some help
I don't know why the old site password isn't working - but I'd recommend checking that your domain name is resolving to the correct IP. Also, migrating from PHP5 to PHP 7 usually doesn't cause any issues.
Thank you very much for the very beneficial video. I followed your video and tried pointing my domain from GoDaddy to AWS. It worked but every time I click on Home, it changes my domain to the IP address and thereafter, keeps it that way. Your help/suggestion will be highly appreciated. Thank you.
You can configure a redirect from your IP to your domain name in your virtualhost configuration. However, the exact instructions depend on whether or not you have SSL configured.
This is something I am looking for. Thank you. Can anybody please explain how do I change my nameservers of my wordpress.com domain. I don't see that option on my wordpress.com settings. So, I am kind of stuck w.r.t to identify the domain name registrar and change the NameServers. Any guidance will be helpful. Thank you.
Hi Pranita - I'm not sure what of level of control wordpress.com gives to customers who purchased their domains through them. However, it looks like it's possible based on the following link: en.support.wordpress.com/move-domain/ Hope this helps, Joe
Thank you for your reply. Yeah, I had followed this link before. Checked again now. Looks like they don't allow free plan users to do the name server settings. Unfortunately, that's the only step because of which I am not able to complete this tutorial.
Hi Adams, Just run the following command and go through the steps: sudo /opt/bitnami/bncert-tool Source: docs.bitnami.com/aws/apps/wordpress/administration/generate-configure-certificate-letsencrypt/
To view the latest version of this tutorial (updated for 2021), including domain name and SSL configuration:
onepagezen.com/migrate-wordpress-aws
View this tutorial with each step listed individually with pictures:
www.onepagezen.com/migrate-wordpress-aws
Links do not work!
Even though I'm watching this video after I've already figured out most of what needs to be done, I must thank you amply for this video. Succinctly done. Not confusing at all. AND RELEVANT 3 YEARS LATER!
Have had to go through a bunch of unstrung videos to figure out half the processes you've demonstrated in such simple terms here. Essentially, the algorithm you've used to get the work done is 10 times less cumbersome than what the other videos recommended.
For those interested in obtaining SSL. Once logged into the bitnami console, before doing any redirect, run the following command:
sudo /opt/bitnami/bncert-tool
This will take you through a series of questions that the console will ask you for SSL configuration, just type yes or not (Y or N) in each one of them. It will also ask you about the www to non www redirection and vice versa which means you can do both steps when installing SSL, turned out to be more useful and simple.
I rarely comment on anything UA-cam, but I just wanted to say that this was exceptionally! It has helped me tremendously and I appreciate your work
Thanks for the feedback Casey - I'm glad to hear that you've benefited from the tutorials!
Thank you! This was a great video! Audio was good, speed was perfect, and your descriptions were perfect!
Really good job!
I'm from Brazil and i"m so glad for this tutorial
Awesome - thanks for the feedback!
One of the best and more clearly explained tutorials on UA-cam! Thank you!!
Thanks for the feedback!
Amazing tutorial ! i migrate a site for a test for my customer in less than 2 hours ! Thanks
Underrated channel
thanks One Page Zen
for your best helpful demonstration
Hi, Thanks for such a useful video. As you mentioned in your video, our back file size is more than 520MB. Please could you share the link of video in which you have explained what changes need to be made to upload that oversize backup file?
Thanks
thank you very much. It was hard to find a tutorial online and this was perfect and worked right away.
Awesome - I'm glad to hear it!
You have great website , well explained ..thanks a lot for the good work ...
Great video. easy to follow instructions. I just did a test run step-by-step without any problems. Thanks
Brilliant - Thank you very much for this, exactly what I needed for migrating my site to AWS.
Awesome - glad to hear the tutorial was helpful!
Absolutely fantastic, thank you so much. I'd love to see one on how to migrate the mail server as well.
Absolutely brilliant video great step by step instructions. Thank you
Please make a video on explaining how the AWS pricing works.
Very nice tutorial with easy steps and in simple language.
Thanks for the feedback Mahesh!
Awesome tutorial, thanks so much for putting this together!
7:49 in this point I can’t understand what is going on. must be purchase my domain from another hosting websites ? Aws not hosting my website !
What a great tutorial - thank you!
Looks great will try it out thank you!
Awesome !!! Thank you very much. You save my day
Hi great tutorial. Can you answer the following questions:
1) What if you are running a new word press site. Is it better to create a domain name on route 53?
2)Also, when you install WordPress, is the storage on the root volume of the instance? But, if the root volume accidentally is terminated or deleted will we not lose the data? How do we install on WordPress on additional volume?
Thank you this video was very helpful.
I have a wordpress site running on my localhost, is it possible to deploy this on aws. I'm guessing it would be a similar process as shown in the video. However when it comes to the stage of transferring the database I can not use the same steps since my website is not live. In this scenario how would I go about transferring my database to the aws wordpress instance ?
Awesome tutorial!!! Thank you so much for this!!
Great Tutorial
Can you please tell me how can I see my database in AWS after usinf all in one plugin
Hey. Thanks for the awesome tutorial. But how do you increase max_upload_size in aws? I mean I couldn't find the php.ini file? And how do you have the max upload to 512 MB? where as I just have 40 MB
Check out the instructions here: docs.bitnami.com/general/apps/wordpress/administration/increase-upload-limit-php/
hello. im currently with go daddy and due to reinstate another year in a week but id like an open source so if i go through this process once i tranfer over is the maintenance easy ?
Thank you very much, sir you have been a great help and yes best video on the related topic.
Thank you Pankaj!
Thank you for this. Can multiple websites be migrated to a single EC2 instance repeating each step you've followed or I need to create separate instance?
Also, can I create a hosted zone for subdomain instead of root domain?
Thank you so much for sharing, it very helpful. Great Job!!!
Thanks very much for the feedback Godstime - I appreciate it!
Thanks for this video. Very helpful.
Any tutorial to do this if you're migrating the site to a different domain name?
good explanation for complex things.
best video related to the topic.
Thanks Jhony!
Hi.. i have my site ready with me..i want to transfer that into AWS server. Your video is really helpful but i don't get where do i can upload my database...and after that what settings do i need to change....Please help.
The new default update file size is only 40MB. Your old tutorial refer to the wrong line. New code line start at line 350. The setting seem to look different too.
// =================
// = Max File Size =
// =================
define( 'AI1WM_MAX_FILE_SIZE', 2
You are the best bro!
Hello, I just want to ask if this process possible to work if I have a finalized localhost wordpress website or it will ask me to rebuild it from the beginning?
Great tutorial :D
The best tutorial how to migrate wordpress, if you have a tutorial how to install free SSL/TLS certificate for AWS will be awesome
After my wordpress to AWS Ec2 migration, I am unable to create a new post or edit existing posts, rest of the admin is working fine, and database looks like connected as well, but it just can't add or edit posts, White screen shows "There has been a critical error on this website. Please check your site admin email inbox for instructions.". Any guess why it is so? help will be appreciated.
Thanks, very helpful ! Is it still useful to use Amazon S3 for media files or is there no reason anymore?
Yes absolutely - I would recommend it.
A little off-topic, but thought I'd ask. I'm looking at AWS LiteSail. Any reason you are using Ec2 instead of LiteSail??? Thanks.
No - there is no reason in particular, aside from staying consistent with the tutorials for the other cloud providers.
Why two domains are essential?
What if the first domain is yahoo.com? All information would be gone by the transformation mentioned in the second steps?
You need both the www. and non-www. version of your domain to be covered under the SSL certificate.
Hey, please tell me
Does it work if I want to move my site from localhost to AWS
For 512 MB import, make sure to download file extension for ‘All-in-One’ this option ic displayed when you choose “import more than x MB”
Thanks its very helpful
Thankyou so much for making this video
Thanks for the feedback mridul!
As you enter the wordpress installation files, I need to change directory, is that possible in AWS?
Great video thank you so much
Thanks for the feedback Mohammed!
Would this work for a large Wordpress site with over 50 plugins? If so, how does it copy over all the images and plugin files?
I would disable/remove any unnecessary plugins before migrating. Then follow the steps outlined here: onepagezen.com/migrate-wordpress-installations/
You absolute beauty thank you for this
Hey, So I have finally got it done. And it's working. :)
I have one more question. If I make changes on my old wordpress.com website, it do not reflect in the new website. So it do not sync automatically. Is it possible to achieve that?
Just a question before I start this process. I have my site built already on localhost so if I'm moving from localhost using wamp to a live server, when I'm doing the migration step exporting the file with the all-in-one plugin, would I simply just replace my localhost url with the new domain I register and it essentially works the same as this?
I hope yes. It will work
Does it have to be with two domain names? you ended up with same one anyway.
Thanks for the tutorial. But how do you migrate the images you have in the 'old' uploads folder?
If you don't know how to do that, AWS is probably not the right choice for your web hosting lol
@@imadust that's helpful...
Connection timed out
im getting this error after updated name servers please help me bro
Great Tutorial. You should do this for a living!
Question. If the wp site that i want to import is a wpmu, do I have to configure the aws wp installation to be a wpmu before importing? Thanks Lloyd
Can you please tell me how to add 3rd party ssl certificate in wordpress website hosted on AWS?
Dear Sir its a great tutorial! very helpful and easy to understand.
I also wish to know how I can access the FTP folder of my wordpress installation and also the PHP admin SQL database. In some cases it becomes essential to access these two areas while managing a wordpress website.
Hello Vape,
I currently only have these guides for Google Cloud:
Here is a guide for FTP:
www.onepagezen.com/phpmyadmin-ssh-tunnel/
Here is a guide for phpMyAdmin:
www.onepagezen.com/phpmyadmin-ssh-tunnel/
Let me know if you have any questions,
Joe
Nice and concise explanation on how to move existing wordpress site to AWS. Is the free tier AMI good enough for a website which has less than 500 visitors per month?
Hi Mohammed,
For running WordPress websites, the free tier can easily handle 1000-100,000+ visitors per month.
I hope this answers your questions,
Joe
Thanks for the response!
Sir I saw one tutorial before yours. And they use Elastic Ip and ask us to Change A record from hosting with the elastic ip that we allocated to the instance. And now some time when user came from search engine blog show them that elastic ip address instead of domain name. Please help us.
Thanks for this tutorial.
The issue I am having right now (after migrating my exiting site). I migrated the same website that has a valid SSL certificate (https) and after the migration to my AWS and Google cloud the SSL certificate (https) is not showing. Then I followed your tutorial to setup ssl certificate, and after I did not it ended with an error.
When I restarted my apache it said aborted. And the https error still continues.
Was I wrong setting up an ssl certificate on a site that already has one from an old hosting service?
Helpful tutorial. I managed to execute this. However, I can not access the aws wordpress website as an admin when I use the old login. so I am locked out of the website to make any changes though it is running live. What can I do.
If the old login doesn't work, you will have to change the password from the DB/backend
This is typically only the case when using an email address for login though - do you have an admin username?
Hi, great tutorial. Every instruction was clear and simple to execute.
However I'm stuck at the All-in-one migration part. So im migrating my existing website to the wp on AWS, but both domains are the same. Meaning unlike your example, I decided to migrate my website without changing to a new domain name. Is this possible?
Also, will I lose the SEO that I have for my existing website after the migration?
Hi Kenneth,
There should be less steps involved if you're using the same domain, seeing as you won't have to use the 'find and replace' feature. Also, the migration shouldn't affect your SEO since your're using the same domain name.
if migrate wordpress site on aws service hosting is chargeable or free?
I hav a question.... Can I use my domain name before 60 days from purchase... Or hv to wait for 60 days to migrate to aws.?
Well explained......thanks
Thanks for the feedback Amal!
Thank u! very helpfull!
Could you please clarify why both ip and as well as domain opening in different..? because i can make changes in two different places.
This is expected behavior. You can configure a redirect in Apache by following the instructions here: www.digitalocean.com/community/questions/redirect-ip-address-to-domain-name-apache
Great, thank you
when installing a wordpress on aws, is there a way to get a default 'something.wordpress.com' address?
U r genius... Thnk u.
After this sudo /opt/bitnami/ctlscript.sh restart apache
Unmonitored apache
Syntax OK
/opt/bitnami/apache2/scripts/ctl.sh : httpd stopped
Syntax OK
/opt/bitnami/apache2/scripts/ctl.sh : httpd started at port 80
Monitored apache my Domain name not showing... can u Help me?
i was just clicking everywere and somehow amazon just deleted my instance? but my website is still online, what can i do?
What will happen to webmail or other subdomain used in the previoushosting ?
You would have to migrate those DNS records to AWS as well. If it's something you're not familiar with, or if your operations are dependent on your existing mail setup, then I would forgo migrating to AWS.
Great videos! Can you do a tutorial on how to setup an SSL certificate on AWS!!
Yes I will do a tutorial on how to configure SSL on AWS - stay tuned!
Thank you sir!
I was told that the SSL Certificate from AWS was basically "unusable" and was told to use Let's Encrypt instead. What are your thoughts?
Yes - don' use the AWS certs. The Let's Encrypt certificates are free and quick to install, it's what the majority of professional developers use.
Perfect! I had a developer put in a Let's Encrypt certificate and HTTPS the images in like 20 minutes! I was lost using AWS for like 3 days.
Hi Sir, I have created the first step and started adding the content in wp since a month but i have not done second step. I did second step today and i am able to go to www.example.com but when i use the ipAddress in browser it is not working. It says server IP address can't be found. I am using Elastic IP, so the ipAddress is same too, why do you think my domain name works and not my ipAddress, kindly enlighten me.
How to add ssl in aws? thanks
Very useful video. Thanks for uploading. But how to upload without using WP migration? Because my file size is too huge.
Check out this guide for migrating the application manually: docs.bitnami.com/aws/how-to/migrate-php-application/
Also, check out the tutorial for increasing the upload limit for the all-in-one migration plugin (make sure to use the older version of the tutorial, see the link at top of tutorial page): www.onepagezen.com/all-in-one-wp-migration-unlimited-extension-free/
aws o google cloud platform, if someone can share their experiences, please? (just wanna know which is better cause I’m about to migrate) Thanks in advance
I prefer GCP - but AWS has a substantially larger market share.
How would I do this with Cloudflare though?
The Route 53 change the console with new desing.
Can I use cloudflare for Amazon nameserver?
Would the second part be the same if I was migrating a site to AWS Lightsail?
Hi Jesse - I don't currently have any AWS tutorials that incorporate Lightsail. And I'm not sure - I have never used their Lightsail service.
Can we do it without changing the Domain Name
(I mean Domain name remains the same )
What can I do if my instance does not show me logs
Can we use Updraft PRO for migration to aws
You can use any of the migration plugins - they should all work. It's possible you may run into a permission issue, but likely nothing beyond that. Give it a try and let me know if you have questions!
Could someone please let me know the alternative for putty SSH if you are using a Mac?
I'm not able to edit the file where code needs to be added.
Mac has a built-in SSH client, so downloading puTTY is not necessary.
@@OnePageZen its not opening "The contents of this item cannot be retrieved.'
Everything work for me with this tutorial, with a final exception, MY OLD WORPDRESS SITE PASSWORD DOT WORK ON NEW SD2 SITE, when i used all-in-one wp Migrate plugin for import, at the end warning about the old site was build on php5 and the new site ec2 is build on php7. That was the problem? or any other idea why my old worpdress password is not working? Please some help
I don't know why the old site password isn't working - but I'd recommend checking that your domain name is resolving to the correct IP. Also, migrating from PHP5 to PHP 7 usually doesn't cause any issues.
hm, my domain is pointing to the correct IP on Lightsail, but still loads the old wordpress site I haven't transferred yet...?
The same problem Need help.
if anyone know?
I have already have SSL installed on the website that I’m transferring!! Can I skip the SSH step where you restarted Apache servers
Which step are you referring to? What point in the video is it?
Is there any option to upload Google drive data on Newly created wordpress site
Not sure - if you figure it out, please share!
Pl show the mx setting in amazon aws
Thank you very much for the very beneficial video. I followed your video and tried pointing my domain from GoDaddy to AWS. It worked but every time I click on Home, it changes my domain to the IP address and thereafter, keeps it that way. Your help/suggestion will be highly appreciated. Thank you.
Did you change your WordPress URL under your WordPress settings page?
@@OnePageZen Thanks for your response. I appreciate it. Yes, I did change the URL on the WordPress settings page.
Did you configure SSL?
You can configure a redirect from your IP to your domain name in your virtualhost configuration. However, the exact instructions depend on whether or not you have SSL configured.
This is something I am looking for. Thank you.
Can anybody please explain how do I change my nameservers of my wordpress.com domain. I don't see that option on my wordpress.com settings. So, I am kind of stuck w.r.t to identify the domain name registrar and change the NameServers. Any guidance will be helpful. Thank you.
Hi Pranita - I'm not sure what of level of control wordpress.com gives to customers who purchased their domains through them. However, it looks like it's possible based on the following link: en.support.wordpress.com/move-domain/
Hope this helps,
Joe
Thank you for your reply. Yeah, I had followed this link before. Checked again now. Looks like they don't allow free plan users to do the name server settings. Unfortunately, that's the only step because of which I am not able to complete this tutorial.
I just upgraded the plan and now it's working. Thank you for the great tutorial!
Thank you. So how to get ssl secure site?
Hi Adams,
Just run the following command and go through the steps:
sudo /opt/bitnami/bncert-tool
Source: docs.bitnami.com/aws/apps/wordpress/administration/generate-configure-certificate-letsencrypt/