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?

質問済み 5年前576ビュー
2回答
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

エキスパート
回答済み 5年前
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!

回答済み 5年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ