Custom Domains & SSL Architecture
Learn how ArylLabs securely manages Custom Domains with automatic SSL provisioning.
1. Custom Hostname SSL Provisioning
ArylLabs uses Custom Hostnames with automatic SSL to provide seamless SSL certificates for custom domains. When you add a domain and point it to custom.aryl.app, a DV (Domain Validated) SSL certificate is automatically provisioned — no manual configuration required.
2. Edge Router Resolution Logic
When a user connects to a custom domain (e.g., https://my-blog.com), the Edge Router needs to understand which internal project it belongs to.
- The Edge Controller reads the
Hostheader of the incoming request. - Instead of the standard subdomain
project.aryl.app, the script identifies it as an external custom domain. - It queries the Turso Edge Database by matching against the
domaincolumn in our lookup tables. - Once the project is resolved, the deployment logic resumes normally.
3. DNS & Domain Ownership Verification
To protect against domain hijacking and ensure reliable routing:
- Subdomains: Add a
CNAMErecord pointing tocustom.aryl.app. - Apex/Root Domains: Add
Arecords pointing to our IP addresses (shown in your dashboard). If your DNS provider supports CNAME flattening, you can use a CNAME instead.
4. Advanced: Wildcard Propagation
The platform fallback endpoints (*.aryl.app and *.aryl.cloud) utilize wildcard DNS and wildcard Universal SSL. This means that a user instantly gets HTTPS coverage the exact millisecond they create a new project—there is no waiting for SSL propagation on default hostnames.
Next: Learn How to Connect a Custom Domain →