Custom Domain
Diploi offers the flexibility to configure custom domains on two levels: at the project level and at the deployment level.
Project
At the project level, you can configure a custom diploi.app
subdomain that will serve as the base domain for all autogenerated subdomains on deployments.
Any new deployment created will automatically use the project’s domain as their base domain name.
For example, if you configure mycompany.diploi.app
as the custom domain at the project level,
all autogenerated subdomains will be created as subdomains of mycompany.diploi.app
(e.g. app-production.mycompany.diploi.app
, app-development.mycompany.diploi.app
, etc.).
Deployment
If you want to use a custom domain, eg. mycompany.com
you can do it by defining a custom domain for a deployment.
This provides more fine-grained control over your domain configuration and enables you to override the autogenerated subdomains created at the project level.
How to Setup a Custom Domain
All you need to do is:
- Access your domain DNS records.
- Create a new CNAME record, pointing to
edge.diploi.com
and using for name, the subdomain or root domain you want to use. - Add your custom domain in your Project or Deployment.