- Newest
- Most votes
- Most comments
It sounds like you're experiencing challenges with migrating your website from Wix to AWS and configuring your domain properly. Let me help clarify the process.
For migrating a WordPress site to AWS Lightsail:
- You've already created a WordPress instance in Lightsail, which is a good start.
- To import your content from Wix to WordPress, you'll need to use a migration plugin like UpdraftPlus. This involves creating a backup of your existing site and importing it to your new WordPress installation.
- If you encounter errors during import, you may need to increase memory limits and execution time in the wp-config.php file of your WordPress installation.
For your domain configuration:
- If you've transferred your domain to Route 53, verify that the nameservers (NS records) at your domain registrar exactly match those provided by AWS Route 53. Any discrepancy will prevent proper DNS resolution.
- Check that you've created a hosted zone in Route 53 and properly set up all necessary DNS records.
- Ensure your domain's DNS settings are pointing to the correct AWS nameservers.
- Verify that the glue records are updated to point your domain to the Route 53 nameservers.
Common issues that might be occurring:
- DNS propagation delays (though these typically resolve within 48 hours)
- Incorrect nameserver configuration
- Multiple hosted zones with the same name
- Incorrect DNS records in your Route 53 hosted zone
To troubleshoot:
- Check if your domain's nameservers match those in your Route 53 hosted zone
- Verify all DNS records are correctly configured
- Ensure your Lightsail WordPress instance has a static IP address
- Configure your domain in Route 53 to point to this static IP
If you want to start over, you can:
- Create a new WordPress instance in Lightsail with a static IP
- Set up a fresh hosted zone in Route 53
- Update your domain's nameservers to the new Route 53 nameservers
- Configure the proper DNS records to point to your Lightsail instance
Remember that DNS changes can take time to propagate globally, so some patience may be required after making changes.
Sources
how import website to aws lightsail using updraftplus ? | AWS re:Post
my domain is not working with aws. | AWS re:Post
Migrated domain to AWS and DNS not working in many places | AWS re:Post
My site doesn't shows up when using the domain name | AWS re:Post
answered a year ago
Here's a detailed step-by-step guide to verify and fix your migration:
Phase 1: Domain Status Verification
-
Check Domain Transfer Status:
- Log into your Wix account
- Verify if domain transfer is unlocked
- Ensure you have the authorization code (EPP)
- Confirm domain is not within 60 days of registration
-
Route 53 Domain Status:
- Log into AWS Console
- Go to Route 53
- Check if domain transfer is complete
- Verify domain ownership
Phase 2: DNS Configuration
-
Name Server Configuration:
a. In Route 53: - Note the four AWS name servers assigned to your domain - They look like: ns-XX.awsdns-XX.com b. In Wix (if domain not fully transferred): - Update name servers to match Route 53 - Remove any old name servers -
DNS Record Verification:
- Create an A record pointing to your Lightsail instance's IP
- Add www CNAME record if needed
- Wait for DNS propagation (can take 24-48 hours)
Phase 3: WordPress Configuration
-
WordPress URL Settings:
In WordPress Dashboard: - Go to Settings → General - Update "WordPress Address (URL)" - Update "Site Address (URL)" - Both should match your domain (https://yourdomain.com) -
Lightsail Instance Settings:
a. Check Static IP: - Ensure static IP is attached - Verify it matches DNS A record b. Check Networking Tab: - Verify ports 80 and 443 are open - Check firewall rules
Phase 4: Verification Steps
-
Test Connectivity:
Run these checks: - nslookup yourdomain.com - dig yourdomain.com - ping yourdomain.com -
SSL Configuration:
In Lightsail: - Check SSL/TLS certificate - Verify certificate matches domain - Ensure HTTPS redirect is working
Phase 5: Troubleshooting
-
Common Issues:
Check for: - Mixed content warnings - Incorrect file permissions - .htaccess configuration - WordPress permalink settings -
Final Verification:
Confirm: - Website loads correctly - All pages accessible - HTTPS working - No redirect loops
Next Steps If Issues Persist:
-
Debug Tools:
- Use https://whatsmydns.net to check DNS propagation
- Use https://dnschecker.org to verify DNS records
- Check browser developer tools for errors
-
Reset Process: If you need to start over:
a. Document current settings b. Reset DNS to Wix c. Wait for propagation d. Begin fresh migration
Also, it would be helpful to know:
- Current error messages you're seeing
- How long ago you made the DNS changes
- Whether you can access the WordPress site via IP address
- If you have SSL configured
Relevant content
- AWS OFFICIALUpdated a month ago
