mcp.yourcompany.com, or a Raily-hosted address where you only pick the name.
A new address is an addition, not a replacement. The default address keeps working, and agents that already connected keep working without signing in again. Both addresses use the same sign-in, so an agent that connected on one is not asked to approve access again on the other.
Custom domains are available on paid plans and are turned on per Account. Contact us to enable them.
Before you start
- Open the endpoint: in Search Rail, select it in the Your audience panel. The Custom domain card is on the endpoint page.
- You need permission to manage resources in the endpoint’s Organization. Without it, you can see the card’s addresses but can’t change them.
- The endpoint must be active.
- Each Account can have a limited number of custom domains (20 unless your plan says otherwise). Raily-hosted addresses count toward the same limit.
Option 1: Use your own domain
Use a subdomain, such asmcp.yourcompany.com. Raily can’t serve a root domain such as yourcompany.com.
You’ll need access to your domain’s DNS settings. If your domain has CAA records, add amazon.com, amazontrust.com, awstrust.com and amazonaws.com to them first. Otherwise the certificate can’t be issued or renewed.
1
Add the domain
In the Custom domain card, type your subdomain in the field (for example
mcp.yourcompany.com) and click Add domain. The domain appears with the status Waiting for DNS and the heading Add these two records to your DNS.2
Create the ownership record
In your DNS provider, create the TXT record the card shows (labelled “proves you own the domain”):
- Name:
_raily-challenge.followed by your domain, for example_raily-challenge.mcp.yourcompany.com - Value: starts with
raily-verify=followed by a code unique to this domain
3
Create the routing record
Create the CNAME record the card shows (labelled “points your domain to the endpoint”):
- Name: your domain, for example
mcp.yourcompany.com - Value: the target address shown in the card
4
Wait for Raily to finish
You don’t need to click anything else. While the page is open, the card checks your records every 20 seconds, and Raily keeps checking in the background after you close it. Each record gets a green check once Raily finds it. Then Raily issues a certificate for your domain and the status changes to Active. This usually takes a few minutes after your DNS changes are visible. Click Check now to check right away.
Option 2: Use a Raily-hosted address
If you don’t have a domain, or don’t want to touch DNS, Raily can host the address for you.1
Switch to a hosted address
In the Custom domain card, under the domain field, click Use a Raily-hosted address.
2
Pick a name
Type a name in the field. The card shows the rest of the address next to it. Use 3 to 40 characters: lowercase letters, digits and hyphens, with no hyphen at the start or end. A few common names, such as
www, api and support, are reserved.3
Add it
Click Add address. The status shows Setting up while Raily creates the DNS records and certificate. It changes to Active within a few minutes.
Use the new address
Once the status is Active, the endpoint’s connect card shows your new address as the connect link, with the original listed as Default URL (always works). Give the new address to anyone connecting an agent from now on. People who already connected with the default address can keep using it. An endpoint can have more than one custom domain or hosted address. Each one appears in the card with its own status.What each status means
Remove an address
Click Remove on the address, then Remove domain to confirm. Agents connected through that address lose access immediately. The default address keeps working. For your own domain, delete its two DNS records once the address is removed. For a Raily-hosted address, Raily removes its DNS records for you.Next steps
Connect to ChatGPT
Add an endpoint to ChatGPT
Access
Choose who can use an endpoint