Custom Domains
Setting up a custom domain for your decentralized instance with HostAI can be accomplished with just a few steps. Please carefully follow this guide to ensure a smooth process.
Overview
Adding a custom domain to your HostAI instance involves:
Creating a CNAME record.
Creating a TXT owner proof record.
Testing the domain setup.
This guide will take you through each step.
Prerequisites
Before you start, make sure you have:
Access to your domain's DNS settings.
The Ethereum address you used to create the instance.
Step 1: Create a CNAME Record
To add a custom domain, first, you need to create a CNAME record in your domain's DNS settings. The CNAME record will point your domain to your instance on HostAI.
Log into your domain provider's site.
Navigate to your domain's DNS settings. These settings are usually located in your domain control panel.
Create a new CNAME record.
For the
Name/Host/Alias
field, enter your domain (i.e.,<<userdomain.com>>
).For the
Value/Answer/Destination
field, enterprogram.public.host.sh
.
Your CNAME record should look something like this:
Save your changes before moving on to the next step.
Step 2: Create a TXT Owner Proof Record
Next, you need to create a TXT owner proof record in your domain's DNS settings. This record confirms that you own the domain associated with the HostAI instance.
Still in your domain's DNS settings, create a new TXT record.
For the
Name/Host/Alias
field, enter_control.<<userdomain.com>>
.For the
Value/Answer/Destination
field, enter your Ethereum address (i.e.,<<public address>>
).
Your TXT owner proof record should look something like this:
Save your changes before moving on to the next step.
Step 3: Test the Domain Setup
After you've set up the DNS records, you can go to the domain detail page to check if the setup was successful.
Navigate to the dashboard.
Select the domain you added.
Verify that all checks are successful.
Last updated