How to configure a domain

With Azion, you can create and run applications directly at the edge. To allow access to your application through the browser and start receiving users and monitoring metrics, you need to configure a domain.

To create a free domain address for your application in the format xxxxxxxxxx.map.azionedge.net, follow the steps in the appropriate tab below. There are separate instructions for the legacy Domains settings and the new Workloads product.


Configuring a domain with Azion

To create a Workload:

  1. Access Azion Console > Workloads.
  2. Click the + Workload button.
  3. Give your Workload a name.
  4. Select the Infrastructure for your Workload: Production Infrastructure or Staging Infrastructure (test environment).
  5. Define your application hostnames in the Subdomain and Domain fields. You can use custom domain addresses to link to your application.
  6. In Edge Application, select your Edge Application.
  7. In Edge Firewall, select your Edge Firewall.
  8. In Digital Certificate, select, create a new, or use the Azion SAN certificate if you’re aiming to use the Azion Custom Domain or the Workload Domain.
  9. Click the Save button.

Wait a few minutes for your new Workload to propagate and access your xxxxxxxxxx.map.azionedge.net address to see your Edge Application online.


Linking a custom domain to your application

In addition to the default Azion domain, you have the option to associate a custom domain in CNAME format, such as yourdomain.com, with your application. This allows you to customize the domain name that users will use to access your application.

When a user enters the custom domain name in their browser, a DNS lookup process takes place. During the DNS lookup, the user’s browser sends a request to a DNS server to find the IP address associated with the custom domain. The DNS server checks its database to find the corresponding IP address for the custom domain name. If the custom domain is configured to point to the Azion domain, the DNS server returns the IP address of the nearest edge node in the Azion network.

Once the user’s browser receives the IP address, it establishes a connection with the appropriate edge node. The edge node then serves the requested content, and the user’s browser displays the edge application.

You can choose to customize your domain by associating a domain record or migrating your name resolution to Azion.