# Domain registration and setup

Source: https://kilat.host/docs/domains

Every service gets a KilatBot address: agents under `*.goki.lat`, and backends and websites under `*.goki.lat`. You can change it, attach your own domain, or register a new domain from your Balance.

## Primary address

In the service's **Domains** tab you can change the KilatBot subdomain. Apps that register callback URLs elsewhere, such as an agent's dashboard login, must be updated when the primary address changes.

## Custom domains

1. Add your hostname in the **Domains** tab.
2. At your DNS provider, publish the **A record** and the **TXT ownership record** that KilatBot shows.
3. Select **Verify ownership**. Once verified, KilatBot routes the domain and requests an HTTPS certificate.

DNS changes can take a while to spread. If routing fails after verification, use **Retry routing**. Once a custom domain is live, KilatBot shows it as the service's primary address; the KilatBot address keeps working alongside it.

## Registering a domain

Search for a name on the **Domains** page and pay from your Balance for 1 to 5 years; prices include PPN.

- Available extensions: .ink.
- Auto-renew charges your Balance up to 30 days before the domain expires.
