- Newest
- Most votes
- Most comments
-
If you are hosting your website on a standalone EC2 instance, you can attach an elastic IP to it and map the A record residing on GoDaddy to the EIP.
-
If you are using an Application Load Balancer on top of your EC2/Lambda/ECS resource, it returns the CNAME by default. Although you can get the IP address of the ALB using nslookup, it will change over time. The best solution is to use a Network Load Balancer on top of your Application Load Balancer. In this case, your Application Load Balancer would be a Target Group sitting behind the NLB Target Group, and your ALB would have the EC2 instance as a Target Group.
-
Another workaround is to host your application in AWS Lightsail and attach an elastic IP to it.
Please don't forget to accept the answer if i was able to answer your query in order to close this thread and help other community members.
Relevant content
- Accepted Answerasked 4 months ago
- asked 3 years ago
- asked 7 months ago
- asked a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
What service within AWS are you using to host your website? Is it an EC2 instance, an S3 bucket, etc?