You can configure multiple Domains within a service. When adding a Domain, you also need to define a Domain Mapping.
The Domain Mapping determines how traffic from your Domain is routed to an Origin. Each Domain can have multiple routes.
For more information, see the Manage Domain Mappings page.
To add a Domain to your service:
- Navigate to your service.
- In the sidebar, select Domains.
- Click the Create Domain Mapping button.
- Complete the new Domain Mapping form:
- Domain – Enter the new domain name.
- Path – Specify the path that should be mapped to the destination Origin. Use
/*to route the entire Domain to an Origin. - Destination – Select an Origin from the list of Origins configured for your service. See here for details on adding an Origin.
Once created, the new Domain will appear in the list of Domains. See Manage Domain Mappings to add additional mappings for your Domain.