How to define a new origin for your application

Define an origin to determine the source of the content of your application. It can be an application, a web server, or a storage.

When you create an edge application, a default origin is created and activated automatically. This guide will show you how to create and activate a new origin with different configurations without removing or editing the default origin.


  1. Access Azion Console > Edge Application.
  2. Click the edge application for which you want to configure a new origin.
  3. Select the Origins tab.
  4. Click the + Origin button.
  5. Give your new origin a name. For example: httpbin.org
  6. Under Type, keep the option Single Origin selected.
  1. Under Protocol Policy, select Enforce HTTPS.
  2. Under Address, add httpbin.org
  3. Under Host Header, add customhost.com.
  4. Leave Path blank.
  5. Click the Save button.

You’ve created a new origin, but it isn’t active in your application yet. You need to define what will trigger a request to the new origin.

  1. Navigate to the Rules Engine tab.
  2. Click the + Rule button.
  3. Give a name for your rule.
  4. Select Request Phase.
  5. Under the Criteria section, select the variable ${uri}.
  1. As a comparison operator, select is equal.
  2. As an argument, add /httpbin.
  3. In the Behaviors section, select Set Origin from the behavior list.
  4. Select the new origin you created.
  5. Click the Save button.
  6. Wait a few minutes for the changes to propagate and access xxxxxxxxxx.map.azionedge.net/httpbin.

Contributors