Custom domain
On paid plans a published site can be connected to your own domain, such as www.example.com, with an automatic https certificate.
Before you start
- The Hosting, Start, Business or Enterprise plan. On the Free plan the publishing window shows a Paid plans badge.
- A published site: the Custom domain section only works after the first publication.
- Access to the domain's DNS settings at its provider (registrar or DNS service).
Connecting a domain
- In the editor, open Publish, enter the domain in the Custom domain section (for example
www.example.com) and choose Add. - The window shows two DNS records to create: a TXT record that confirms ownership (name
_bloklo.+ the domain, value starting withbloklo-verify=) and an A record (for a root domain such asexample.comorexample.co.uk) or a CNAME record (for a subdomain such aswww.example.com). - At your domain provider, add both records with exactly the values from the window. The records must work without a proxy or CDN.
- Return to the window and choose Check and connect. DNS changes can take a few hours to work; if so, check again later.
- After a successful check the status changes to Issuing the certificate… (the window refreshes itself every few seconds) and then to Active. The window then shows the site address on the new domain.
Domain statuses
| Status | Meaning |
|---|---|
| Waiting for DNS records | The domain is added but the records have not been confirmed yet. |
| Records correct | The records are set correctly; the certificate will be issued. |
| Issuing the certificate… | The https certificate is being issued. |
| Active | The site works on your domain. The certificate renews automatically. |
| Error | A description of the problem appears below the records, for example a missing TXT record or a wrong A record target. |
Buttons
| Button or option | What it does |
|---|---|
| Add / Change | Saves the entered domain or replaces the previous one. |
| Check and connect | Checks the DNS records and, when they are correct, requests the certificate. |
| Disconnect | Removes the domain from the project. The site keeps working at its Bloklo address. |
Domains with a multi-part suffix, such as example.com.pl, example.waw.pl or example.co.uk, are recognised as root domains and get an A record.
Troubleshooting
The check fails even though the records are added
DNS changes can take a few hours to spread. Check that the TXT record name is exact (some providers add the domain at the end themselves, so only the _bloklo or _bloklo.www part is needed) and that there is no old A or CNAME record for the same name.
The domain goes through a proxy or CDN
A proxy hides the real address and blocks the certificate. Turn the proxy off for these records.
I want the domain to work with and without www
One domain is connected to a project. Redirect the other version to it in your domain provider's settings.
Bloklo rejects the domain
Addresses on Bloklo domains cannot be connected. The domain must contain a dot and be written in lowercase.
Unpublishing, changing the site's Bloklo address and deleting the project disconnect the custom domain. After publishing again, add and check the domain once more (the DNS records can stay, only the TXT value changes). A domain that has been added but not confirmed with DNS records within 24 hours can be connected in another project.
After disconnecting a domain, you can remove its DNS records at the provider.
Something unclear or out of date? Contact us