How to migrate nameservers to Azion

Azion allows you to host and manage DNS zones and records by redirecting the DNS resolution of your domain provider to Azion’s authoritative nameservers (NS) through Edge DNS.


Step 1: Create a DNS zone

To create a DNS zone for a domain entry yourdomain.org:

  1. Access Azion Console > Edge DNS.
  2. Click the + Zone button.
  3. Give your zone an easy-to-remember name.
  4. Indicate the FQDN as recorded in the DNS. Example: yourdomain.org.
  5. Click the Save button.

To get the Azion nameservers:

  1. Click the Copy Nameserver Values button to get the Azion’s nameservers:
  • ns1.aziondns.net
  • ns2.aziondns.com
  • ns3.aziondns.org
  1. Keep these values in hand for when you redirect the authoritative nameservers of your domain.

Step 2: Redirect authoritative nameservers

The next step is to redirect your domain’s authoritative nameservers, and for this, you’ll need to access your domain provider and modify your NS records. Here are some of the most popular domain providers and how they handle DNS nameserver changes:

Azion recommends that you add all of the three available Azion nameservers for additional reliability:

  • ns1.aziondns.net
  • ns2.aziondns.com
  • ns3.aziondns.org

Once your nameserver records have been updated to Azion’s addresses, you’ll be able to create records directly from Azion. See the next section for an example on how to do that.


Step 3: Create edge application record in DNS zone

After you’ve successfully migrated your DNS zone to Azion, you won’t need to access your domain provider to create new records, since you can do that directly with Azion. This means you can launch your application with it’s custom domain and easily create new applications and records as needed.

To associate a new edge application to your domain, you’ll need to create a new CNAME record in your zone and associate it to an edge application.

To customize the domain of your edge application under your new zone, you need to associate the CNAME of your edge application to a new record. Retrieve the custom domains listed for the application by following the steps:

  1. Access Azion Console > Domains.
  2. Click the domain you want to associate your custom domain to.
  3. In the CNAME field, add the custom domains for the application that should be under your DNS zone. If you already added a custom domain, copy those values and keep them in hand.

Now you’ll need to navigate to the Edge DNS area to add a record for your edge application’s CNAMEs:

  1. On the upper-left corner of the page, open the Products menu, represented by three horizontal lines, and then select Edge DNS.
  2. Select the DNS zone.
  3. Navigate to the Records tab.
  4. Click the + Record button.
  5. Under Name, use a hostname or subdomain. For example: *.
  6. Under Record Type, select CNAME - Canonical name.
  7. Under Value, enter the Azion domain address in FQDN format. Example: xxxxxxxxxx.map.azionedge.net.
  8. Set the TTL and Policy as desired.
  9. Click the Save button.

Repeat the process described above for every CNAME listed for your application. Wait a couple of minutes for the changes to propagate. You can run the DIG command in your terminal to check whether your domain points to the Azion address.


Contributors