Aws lightsail - Can I connect a custom subdomain to my container deployment without moving my DNS nameserver to AWS?

0

I have a number of other subdomains already set up using squarespace nameservers. I would like to be able to add a new subdomain there without having to port all of my DNS records over to AWS DNS zones.

I notice there is a guide for using other nameservers - however, when I follow the instructions, I never see the option to 'edit nameservers' in my lightsail dashboard: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-domain-register-other-dns-service-procedure

2 Answers
1

Hi

This is only possible if you registered your domain through Lightsail not by simply creating a DNS Zone. For a DNS Zone for a domain registered elsewhere, you cannot change the nameservers.

I would recommend trying to create a CNAME record, that points directly to the default domain (public domain) of your container service.

profile picture
Bisina
answered a year ago
0

You can point a subdomain from your existing registrar to your Lightsail container service https://lightsail-preprod.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-enabling-container-services-custom-domains The only case you'd need to move your DNS records is if you wanted the container to host your root/apex domain (example.com vs subdomain.example.com)

AWS
MODERATOR
answered a year 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