Setting up Route 53 to point to Lightsail static IP

0

I have a registered domain on Route 53 and a Lightsail instance with a static IP. I can't seem to get the domain configured to point to the static IP. I can enter the static IP x.xxx.xxx.xxx into the browser and get to my website. But when I try to type www.my_domain.com I get an error. I've tried all the step by step instructions to both set up DNS in Lightsail or (as I'd prefer) set up Hosted Zone in Route 53 to point to the static IP in Lightsail. Is there a good step by step guide that addresses possible failure modes and how to troubleshoot them? Is AWS support intervention required if name server (NS) and start of authority (SOA) changes are made?

asked 4 years ago44 views
2 Answers
0

Hi,

The Lightsail doc about configuring DNS is here:

https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-how-to-create-dns-entry

To use Route 53 for DNS, do the following (most of which you've probably already done):

  1. Perform Step 1 in the Lightsail doc, "Complete the prerequisites."

  2. Create a Route 53 hosted zone that has the same name as the domain. See "Creating a Public Hosted Zone" in the Route 53 Developer Guide:

https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/CreatingHostedZone.html

  1. Create an A record in the Route 53 hosted zone that points to the static IP that you created in step 1. See "Creating Records by Using the Amazon Route 53 Console":

https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resource-record-sets-creating.html

  1. Get the names of the name servers that Route 53 assigned to your hosted zone. See "Getting the Name Servers for a Public Hosted Zone":

https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/GetInfoAboutHostedZone.html

  1. Perform step 4 in the Lightsail doc, which talks about updating the name servers for your domain registration.

If you used Route 53 to register the domain, see "Adding or Changing Name Servers and Glue Records for a Domain" in the Route 53 Developer Guide:

https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-name-servers-glue-records.html

Scott

EXPERT
answered 4 years ago
0

Thanks. That fixed it. My mistake seems to have been adding a CNAME record in Route 53 as well which is doesn't seem to be necessary. I appreciate the help!

answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions