Edit or delete a Lightsail DNS zone - Amazon Lightsail

Edit or delete a Lightsail DNS zone

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.

Note

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 Create a DNS zone to manage your domain’s DNS records.

Edit DNS records

You can edit the DNS records for your domain's DNS zone at any time using the Lightsail console.

To edit the DNS zone
  1. Sign in to the Lightsail console.

  2. Choose the Domains & DNS tab, and then choose the name of the DNS zone you want to edit.

  3. 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.

  4. When you're done, choose the Save icon to save your changes.

    Note

    Allow time for the DNS record changes to propagate through the internet's DNS, which may take several hours.

Delete a DNS zone

You can delete your domain's DNS zone in Lightsail.

Important

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.

To delete a DNS zone
  1. On the Lightsail console home page, choose the Domains & DNS tab.

  2. Choose the name of the DNS zone you want to delete.

  3. Choose the vertical ellipsis menu (⋮). Then, choose the Delete option.

  4. Choose Delete DNS zone to confirm the deletion.

    The DNS zone is deleted from Lightsail.