I am having trouble getting a "www" Alias in a Route 53 Hosted Zone to replace my ugly Elastic Beanstalk URL for my Wordpress Website.
It's a bit of a headache, so here is my situation explaination:
- I have a Wordpress website
- The site is hosted in an Elastic Beanstalk Environment
- I have several domains on GoDaddy.com
- I've set up a Hosted Zone in Route 53 for each GoDaddy domain
- I've imported the zone files from each GoDaddy domain into it's matching Hosted Zone
- I've copied the Nameservers from the hosted zones into their corresponding GoDaddy domain nameserver slots.
- I've created a "www" Alias in each Hosted Zone that points to my Elastic Beanstalk Environment.
- After waiting 48hrs for any DNS propagation, all GoDaddy domains successfully redirect to my Wordpress website but the URL is still my root EBS link (ie. '...environment-name.us-west-2.elasticbeanstalk.com/')
I got into contact with AWS support and they mentioned that I have permanent Apache redirects in my configuration file (httpd.conf). I SFTP'd into my EC2 and looked at the file, but I barely know what took look for at this point. I've set all of this up from AWS tutorials so I'm not sure why the redirects are there in the first place or what they're doing.
If you know what's happening... please educate me.
I have already read and followed the steps in How to link godaddy domain with AWS Elastic Beanstalk environment? It is where some of the steps I followed and listed above came from. It did not solve the issue I'm experiencing.