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 Antworten
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
beantwortet vor einem Jahr
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
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen