While it’s possible to access your deployed services or models using an IP address, this method has inherent limitations. For instance, with IP addresses, you cannot utilize subdomains. Domain URLs allows you to reference your services using a more intuitive and flexible URL rather than a static IP. Checkout next section for setting A record for domain.
You can configure a “base domain URL“ for handling routing to your services
If you set your base domain as *.example.com
, you can access a specific services using the format: service-1.workspace-1.example.com
and service-2.workspace-2.example.com
Alternatively, by configuring the base domain as example.com
, you can use path-based routing to access your services. For instance: example.com/service-1
and example.com/service-2
Integrations
.Cluster
page.Edit
option.The “A“ record, which stands for “Address Record“, is a type of DNS (Domain Name System) record. It maps a domain or subdomain to an IPv4 address. This means when someone accesses the domain (e.g., example.com
), they are directed to the server with the specified IP address (eg. 81.18.118.18
).
To point a domain to your IP address using an “A“ record:
Log in to your domain registrar or DNS hosting platform: This is the service where you’ve registered your domain, such as GoDaddy, NameCheap, CloudFlare, or any other.
Locate the DNS management section: This might be labeled as “DNS Settings”, “Name Server Management”, “Manage Domains”, or something similar.
Edit your DNS records: Search for an option to edit or add DNS records.
Add or modify the ‘A’ record:
example.com
) to your IP address, leave the subdomain/host field blank or enter “@“.sub.example.com
), enter the subdomain part (“sub“ in this case) in the host or subdomain field.Create a CNAME Record for www (Optional):
www.example.com
) to also point to your domain example.com
, create a CNAME record.Wait for propagation. Changes to DNS records can take anywhere from a few minutes to 48 hours to propagate across the internet. The exact time depends on various factors like the TTL (Time To Live) value set for your records and the caching behavior of DNS servers.
Test your changes by visiting your domain or using DNS lookup tools to verify that your domain is pointing to the correct IP address.