Edit or delete a DNS zone in Lightsail
Last updated: November 1, 2022
You can add, edit, or delete the DNS records in your domain's DNS zone. You can also delete your domain's DNS zone in Amazon Lightsail if you want to transfer management of your domain's DNS records to another DNS hosting provider or back to the registrar where you registered your domain.
Before you can edit records using the DNS editor in the Lightsail console, you must transfer management of your domain's DNS records to Lightsail. For more information, see Creating a DNS zone to manage your domain’s DNS records in Amazon Lightsail.
Edit DNS records for a DNS zone in Lightsail
You can edit the DNS records for your domain's DNS zone at any time using the Lightsail console.
Sign in to the Lightsail console.
Choose the Domains & DNS tab, and then choose the name of the DNS zone you want to edit.
On the DNS zone DNS records page, choose one of the following options:
To add a new record, choose Add record.
To edit an existing record, choose the Edit icon next to the record you want to edit.
To delete an existing record, choose the Delete icon next to the record you want to delete.
When you're done, choose the Save icon to save your changes.
Allow time for the DNS record changes to propagate through the internet's DNS, which may take several hours.
To edit the DNS zone
Delete a DNS zone in Lightsail
You can delete your domain's DNS zone in Lightsail.
If you plan to continue routing traffic through your domain, prepare a different DNS hosting provider before deleting your domain's DNS zone in Lightsail. Otherwise, all traffic to your website stops when you delete the Lightsail DNS zone.
On the Lightsail console home page, choose the Domains & DNS tab.
Choose the name of the DNS zone you want to delete.
Choose the vertical ellipsis menu (⋮). Then, choose the Delete option.
Choose Delete DNS zone to confirm the deletion.
The DNS zone is deleted from Lightsail.
To delete a DNS zone