WordPress Site not Loading after Migrating to EC2 Instance
-
Hi there,
I have just attempted to transfer a backed up wordpress site to a new EC2 instance with Bitnami-Wordpress Multisite on AWS, using the following guides from WPMU DEV, listed below. I also attempted to move the Multisite to a new domain.
Here are the steps I completed:
1. Backed up original WordPress Site and wp-config.php and wp-content folder
2. Used phpMyAdmin to export the database as .sql file
3. Create Instance on AWS WP Multisite powered by Bitnami-4.7.2-0 on Ubuntu 14.04.3-AutogenByAWSMP
4. Updated the wp-config.php file of the new installation to include mydomain.com as DOMAIN_CURRENT_SITE and added the lines:
define(‘WP_HOME’,’https://www.mydomain.com’);
define(‘WP_SITEURL’,’https://www.mydomain.com’);5. Copied the backed up wp-content folder to new installation via FTP
6. I used phpMyAdmin to reconfigure the database tables, replacing old domain with https://www.mydomain.com, searched and replaced the values in the site.
7. Set up Route 53 on AWS and created a Hosted Zone for mydomain.com, and added an A Record pointing to the Public IP of my EC2 Instance.
8. On Godaddy I copied the four NS records from AWS Route 53 and then updated the A Record to point to the Public IP of my EC2 Instance.
Now when I type in mydomain.com I get the following:
http//www.mydomain.com/wp-signup.php?new=mydomain.com
And the Error message “This site can’t be reached. http’s server DNS address could not be found.”When I go the the original Public DNS for my EC2 Instance, I get the following:
http//www.mydomain.com/wp-signup.php?new=ec2-XX-XXX-XX-XXX.ap-northeast-2.compute.amazonaws.com
The same “This site can’t be reached” message shows up.
I’ve waited and expect my domain server should have propogated by now.
I would appreciate your help or advice in the above, something I am missing or where I may have gone wrong. Has been a good learning exercise but quite frustrating and time consuming.
The guides I used are:
- The topic ‘WordPress Site not Loading after Migrating to EC2 Instance’ is closed to new replies.