Custom domains for HivePods
Serve any of your pod’s addresses on your own domain, with HTTPS issued automatically: the main address (port 80), or a port you exposed, such as your API on port 5100.
-
Open the pod in the console and find the Custom domains card. Enter your domain and add it. If the pod has exposed ports, choose which address the domain serves; the default is the main address.
-
Create the two records shown at your DNS provider:
Type Name (host) Value CNAMEapp(forapp.example.com)the target shown, like web1.pods.dockhive.cloudTXT_dockhive-verification.appthe verification token shown Each address has its own target: a domain for port 5100 on
web1points at something likeweb1-5100.pods.dockhive.cloud. Copy the target the console shows for that domain. -
Click Verify. DockHive also checks every few minutes on its own. DNS changes can take up to 48 hours.
-
Once verified, the HTTPS certificate is issued and the domain shows active.
From the CLI
Section titled “From the CLI”hivepod domain add web1 www.example.com # the main addresshivepod domain add web1 api.example.com --port 5100 # an exposed porthivepod domain verify web1 api.example.comhivepod domain list web1hivepod domain rm web1 api.example.comdomain add prints the records to create. Removing an exposed port also removes the domains attached to it.
Root domains (example.com): add the target as an ALIAS, ANAME or flattened CNAME record. If your provider supports none of these, point www at the target and forward the root domain to www.
Limits
Section titled “Limits”- Up to 5 custom domains per pod.
- A domain can belong to only one pod or app. Verify within 72 hours of adding it, or the claim lapses.
- Up to 5 new certificates per account per day.
The same rules apply to custom domains for apps.