How to point a domain to Azion

If you already own a domain, you can associate your domain CNAME entries to your Azion domain address through Domains, effectively directing access to your edge application.

Before you point your traffic to Azion, you can test your custom domain on the edge locally by staging your application through the hosts file.


Step 1: Verifying custom domain

To point your Azion domain to a custom domain, you need to list the CNAMEs you want to configure for the application:

  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. For example: yourdomain.com.
  4. Disable the CNAME Access Only switch.
  5. Click the Save button.

Now your Azion domain is ready to be associated to a custom domain on your DNS provider.


Step 2: Modifying domain records

Once you have a domain, you need to access your DNS provider and locate the records management area. There, you can modify every entry associated with your domain. The entry you need to associate your Azion domain to is a CNAME record.

At your DNS provider, you can add or modify a www CNAME record and associate it to your edge application. See the documentation on how to edit domain records of some of the most popular DNS providers below:

To configure your DNS records:

  1. Sign in to your DNS provider.
  2. Choose your domain.
  3. Locate the page where you can modify DNS records for your domain.
  4. Create or edit the www CNAME record of your domain by filling out the information:
NameValueType
wwwxxxxxxxxxx.map.azionedge.netCNAME
  1. Don’t forget to save your settings.

Note that there might be a delay in propagation time when you access your application. If that’s the case, you can run the dig command in your terminal to check the DNS records of your edge node. For example:

Terminal window
dig +short yourdomain.org @200.0.0.0

Once the changes have propagated, you’ll be able to access your edge application through your custom domain.


Contributors