Sites and domains
Your own domain
A site can open at your own address, like shop.example.com, next to its BitHut address. This page explains how to connect a domain you already own.
Before you start
You need a domain bought at a registrar, such as Cloudflare, Namecheap or GoDaddy. BitHut does not sell domains. Only sites can have a domain; a bot or a scheduled script has no address.
Connecting a domain
-
Open the project, go to Settings and press “Connect your own domain”. Or ask your AI: “Connect shop.example.com to my site”.
-
Enter the domain. A whole domain (
example.com) or a part of it (shop.example.com) both work. -
BitHut finds out where your domain’s DNS settings are and shows the one record to add, with the values to copy:
Domain Record Value A part, like shop.example.comCNAME the site’s BitHut address A whole domain, like example.comA the address BitHut shows -
Add the record where your domain is registered. Remove other A, AAAA or CNAME records for the same name.
-
BitHut checks the DNS every few minutes and turns the domain on by itself. You can close the page.
A new record can take up to an hour to appear.
What you see
Each domain in Settings has a status:
- “Waiting for your DNS change”: BitHut does not see the record yet.
- “Getting the HTTPS certificate”: the record is right; the free certificate usually takes a minute.
- “Works”: the site opens at the domain with HTTPS.
Common problems
- The domain is at Cloudflare. Set the record to “DNS only” (grey cloud). Otherwise BitHut sees Cloudflare’s addresses instead of its own.
- There is an AAAA record. BitHut sites answer over IPv4 only. Delete the AAAA (IPv6) record, or the certificate cannot be issued.
- The domain points somewhere else. BitHut says which address it sees and which one it expects.
With and without www
example.com and www.example.com are two different names. If visitors should reach the site at both, connect both. Each one counts as a domain on your plan.
How many domains
| Plan | Own domains for all projects |
|---|---|
| Start | 1 |
| Plus | 5 |
| Pro | 20 |
| Max | 50 |
One site can have up to 5 own domains. A domain can belong to only one BitHut site.
Disconnecting a domain
In Settings, open the domain and press “Disconnect the domain”. The site stops opening at that address; the project and its BitHut address stay.
Search engines
At your own domain, BitHut does not hide the site from search engines. See Search engines.
For your AI: add_domain, remove_domain.