Set Up a Custom Domain
This guide will walk through configuring a custom domain for your Aero2 application so that authentication happens on your own domain (e.g., auth.yourapp.com).
Steps
Add the domain in the dashboard
Navigate to your application's settings in the Aero2 dashboard and enter the custom domain you want to use.
Configure DNS
Add a CNAME record with your DNS provider:
auth.yourapp.com CNAME yourapp.aero2.devVerification
Aero2 verifies that the CNAME record is correctly configured and points to your application's subdomain. Use:
POST /api/applications/:slug/custom-domain/verifySSL provisioning
Once DNS is verified, an SSL certificate is automatically provisioned for your custom domain. This typically completes within a few minutes.
Remove a custom domain
To remove a domain later:
DELETE /api/applications/:slug/custom-domainRelated
- Custom Domains — Feature overview and benefits