Cannot create a DNS Zone in LightSail

1

I have been trying to set my WordPress blog this morning with Lightsail. I have created an instance, static IP and distribution. When I come to create a DNS zone I get the following error:

Some names are already in use: mycustomdomain.co.uk NameExists

I registered the domain with Google.

I updated the domain settings to fulfil a requirement for a custom domain email address with Proton Mail as outlined here:

https://proton.me/support/custom-domain

That is working correctly.

I also followed the recommendation here:

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

Lightsail DNS zones are created in the Virginia (us-east-1) AWS Region. You will get a resource name conflict error ("some names are already in use") if you named a resource in that region the same as the Lightsail DNS zone (e.g., example.com) you want to create.

To resolve the error, create a snapshot of the resource. Create a new resource from the snapshot and give it a new, unique name. Then, delete the original resource that is named the same as the domain for which you want to create a Lightsail DNS zone.

This has not resolved the issue.

Everything is hosted in the UK location: London, all zones (eu-west-2) as I and my audience will be in the UK.

Can anyone help me resolve this error? Would it be easier to transfer the domain from Google to Amazon Route 53 Management?

Note:

I was playing around with my Synology and installed Wordpress on that to look at self hosting but never got as far as updating the domain records to point to it so seems irrelevant but thought I would mention it.

  • My instance name is WordPress-1, my distribution is Distribution-1 and the static ip is StaticIp-1 and they are attached correctly. I am wondering if it is an issue registering the .co.uk in the CreateDomain[us-east-1] region but think that is unlikely.

1 Answer
0

Hello,

I'm sorry to hear about the challenges you are facing with setting up the DNS Hosted Zone.

It sounds like you have the following setup:

  1. Registed the domain and have an active Hosted Zone with Google.
  2. Successfully added the proton mail challenge and setup in the same Google Hosted Zone
  3. You've created Lightsail resources in the eu-west-2 region
  4. You now want to create a Lightsail Hosted Zone in the us-east-1 region, but are getting NameExists errors

I am unable to reproduce the problem in my own testing so I will follow up with the team to see if we can uncover the issue.

Having said that, the quickest path forward for you is likely to do the following:

  1. Ensure you have a static IP attached to your instance
  2. Update the current active Hosted Zone (which sounds like is still the one from Google). For this, you need to create A (IPv4) and AAAA (if IPv6 desired) for your domain name. The values are the respective IP addresses of your Lightsail instance.

Once we determine potential causes of your NameExists issue you can swap Hosted Zone to Lightsail if you desire to do so. That process would look like this:

  1. Create HZ in Lightsail
  2. Manually copy or recreate every DNS record you want to keep from old HZ into the new one
  3. Copy the ns record values from Lightsail for its HZ
  4. Go to Google and update the domain registration with the ns record values. After some number of minutes the DNS caches will clear and pickup this new ns record value. You can monitor this through various DNS ns record lookup tools, including some online websites.

-Andy

AWS
MODERATOR
answered 10 months ago
  • The NameExists error typically indicates you have another Lightsail resource in the same region with the name you are trying to use. Have you created any other resources in IAD region with the same name as the HostedZone you are trying to create?

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