Your project
Custom domains
Put your own domain, such as yourbusiness.co.ke, on a deployed project.
Every project has a free address like myapp.on.dadisiweb.com. You can add your own domain as well; both keep working.
Connect a domain#
- Deploy the project first. A domain can only be connected to a project that is live.
- Open Settings → Domains, pick one of your domains (or type one) and press Connect.
- The page shows the DNS records to create at the place you manage your domain. Create them there.
- Press Check DNS. When the records are visible, a free SSL certificate is issued automatically and the badge turns to Live.
DNS records#
| For | Type | Host | Value |
|---|---|---|---|
Your root domain (yourbusiness.co.ke) | A | @ | the address shown in the dashboard |
www | CNAME | www | your-project.on.dadisiweb.com |
A subdomain such as app.yourbusiness.co.ke | CNAME | app | your-project.on.dadisiweb.com |
Some providers let you use ALIAS or ANAME for the root domain instead of an A record, pointing at your-project.on.dadisiweb.com.
DNS changes can take from a few minutes to several hours to spread. Until they do, the badge says Waiting for DNS. That is normal. Press Check DNS again later.
Things to know#
- Remove old records for the same name (an old A record to another host will send visitors there).
- If you use Cloudflare, set the record to DNS only (grey cloud) until the certificate is issued.
- A domain belongs to one project at a time. To move it, disconnect it first.
- Apps that check the host name (Django
ALLOWED_HOSTS, Laravel trusted hosts) must accept the new domain. For Python projects this is done for you; see Python. - Deleting a project disconnects its domains but keeps them in your account.
Email#
Mail on your domain (you@yourbusiness.co.ke) is configured separately from the website records. Do not remove existing MX records when you change A or CNAME records.