Can I assign domain name to an ec2 instance? [closed]
You can do it by adding an A record in godaddy dns. Which should point to ec2 instace's ip.The ec2 instance should have an elastic ip else it will change whenever the instance restarts and you will have to update the new ip in dns each time the instance restarts inorder to access the web.
For more info you can refer the link below, https://in.godaddy.com/help/add-an-a-record-19238