Deleting a private hosted zone (original) (raw)

This section explains how to delete a private hosted zone using the Amazon Route 53 console.

You can delete a private hosted zone only if there are no records other than the default SOA and NS records. If your hosted zone contains other records, you must delete them before you can delete your hosted zone. This prevents you from accidentally deleting a hosted zone that still contains records.

Topics

Deleting private hosted zones that were created by another service

If a private hosted zone was created by another service, you can't delete it using the Route 53 console. Instead, you need to use the applicable process for the other service:

Using the Route 53 console to delete a private hosted zone

To use the Route 53 console to delete a private hosted zone, perform the following procedure.

To delete a private hosted zone using the Route 53 console
  1. Sign in to the AWS Management Console and open the Route 53 console athttps://console.aws.amazon.com/route53/.
  2. Confirm that the hosted zone that you want to delete contains only an NS and an SOA record. If it contains additional records, delete them:
    1. Choose the name of the hosted zone that you want to delete.
    2. On the Record page, if the list of records includes any records for which the value of theType column is something other than NS or SOA, choose the row, and choose Delete.
      To select multiple, consecutive records, choose the first row, press and hold the Shift key, and choose the last row. To select multiple, non-consecutive records, choose the first row, press and hold the Ctrl key, and choose the remaining rows.
  3. On the Hosted Zones page, choose the row for the hosted zone that you want to delete.
  4. Choose Delete.
  5. Type the confirmation key and choose Delete.