# Buy a domain

MainPath does not sell domains, so you buy one from a registrar and make sure above all that you can edit its DNS zone yourself.

> Source: https://www.mainpath.ai/en/docs/buy-domain/

MainPath does not sell domains itself. You buy the domain from a domain registrar of your choice and then connect it to your project by setting the DNS records MainPath shows you. Common registrars include IONOS, united-domains, Hetzner, GoDaddy, Cloudflare, Namecheap, or the web host you are already a customer of.

## What matters about the provider

Technically, only one thing is decisive.

{{< docnote type="warning" >}}
You need full access to the domain's DNS zone, meaning the ability to create and edit your own `A` and `CNAME` records. An offer that only allows redirecting to another address is not enough.
{{< /docnote >}}

Check this in the product description before buying or in the provider's customer area right after the purchase. If the DNS zone later lives at Cloudflare, IONOS, united-domains, GoDaddy, Hetzner, Hostinger, DigitalOcean, or Gandi, MainPath can set the records itself once you connect access under **Connections**.

## When buying

1. Check the domain name. Short and memorable is good, and hyphens and special characters make the name more error-prone when typed or passed on.
2. Choose the ending. Whether `.de`, `.com`, or any other TLD makes no difference to MainPath; technically, all of them work.
3. After the purchase, open the domain's DNS zone in the customer area and check that you can create and edit records there.

## After the purchase

Enter the domain when creating or editing your project in MainPath, for example as the prod domain of your browser app or homepage. MainPath then shows you under **Domains** the DNS records this domain needs. How to enter the values at the registrar and how to tell that everything is correct is described under [Configure DNS]({{< relref "domain-how-to" >}}).

