Link a Domain to your Server

This guide is for running an HTTP server that you want to link your domain to, through our reverse proxy.

Updated Jul 7, 2026

To begin, you need your numerical server ID, not to be confused with its UUID. The easiest way to get it right now is from your server's Manage Server page, where you can find the ID in the URL.

Get your server ID from the URL.

Now that you have your server ID, you simply need to add a CNAME record pointing to <your server ID>.site.bot-hosting.cloud. For example, with my ID, 8787, I would point it to 8787.site.bot-hosting.cloud.

Example setup in Cloudflare.

You can set the name to @ to use your root domain without a subdomain.

Getting a TLS certificate

If you want to visit your site over HTTPS, you need a TLS certificate.

We recommend Cloudflare for getting a TLS certificate. It is free and works great. First, if you have not already done so, move your domain's nameservers to Cloudflare by signing up at https://dash.cloudflare.com and setting it up.

Then you need to set up a CNAME record, as above, but this time make sure the Proxy status option is checked.

DNS record with proxying enabled.

But this alone will not work. Since you are now passing the connection through a proxy, we cannot figure out what target you are connecting to, so you also need to add a TXT record. This TXT record should contain bh-server=<your server ID>.

A TXT record that specifies which server to target.

Make sure you have SSL/TLS Encryption Mode set to Flexible. You should then be able to visit your domain over HTTPS in your browser.