How to set up custom domain for an app on Amazon EC2?
amazon-ec2, amazon-web-services, dns
Solution
I am answering on a more general level because I stumbled upon this thread when setting my custom domain.
In Amazon I created an instance and associated an IP to that instance. You were able to access it by typing in the amazon url
I actually used Media Temple not GoDaddy, but it will be similar. I went to the zone file and added that public url to the `www`
And as you can see, here is my blog actually working on the custom domain.
I set the wildcard because that way, no matter what someone types, if it is not set, then they will still see the site.
EDIT
For the root URL you should be entering your elastic IP and setting that as an A record.
Problem
I am new in the Amazon EC2 world, I just created an app, that is located URL like this: ``` http://ec2-54-123-45-678.compute-1.amazonaws.com:8080 ``` This is generated URL by Amazon EC2. Now I would need to use my own domain name, so when I would access www.my-domain-name.com, I would like to see the content from ``` http://ec2-54-123-45-678.compute-1.amazonaws.com:8080 ``` I bought the domain name on Godaddy. Is there any way to do this in Amazon AWS dashboard or do I need to set it up in Godaddy system? Thanks