> ## Documentation Index
> Fetch the complete documentation index at: https://docs.replit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Purchase a domain

> Learn how to purchase a domain and connect it to your published app directly from Replit.

Turn your apps into live, professional websites with custom domain names.

Domain Purchasing lets you search, buy, and connect domains for your Replit published apps—all from within the platform. Go from published app to professional web presence in minutes.

That means you can buy a site, like `my-app.com`, and have it automatically point to your app.

You can explore domain options before publishing. Your domain serves the app only after the app is published.

![Tools navigation with Domains selected and the Buy a new domain search and recommendations emphasized](https://mintcdn.com/replit/d-LfLWsRG86p2TCm/images/domains/domain-search-context.png?fit=max\&auto=format\&n=d-LfLWsRG86p2TCm\&q=85\&s=d9b0c61e4a571722ce9c64165d332e61)

> [!NOTE]
>
> We're eager to hear your feedback on how we can improve Domain Purchasing!

## Features

Domain Purchasing streamlines the process of giving your apps professional web addresses. Instead of juggling multiple services, you can complete your entire web presence setup within Replit.

Key capabilities include:

* **Domain search and availability**: Check domain availability across popular extensions like `.com`, `.ai`, and more
* **One-click purchasing**: Buy domains directly through Replit using your account's default payment method
* **Automatic configuration**: Your domain points to your Replit app without manual DNS setup and serves visitors once your app is published
* **WHOIS privacy protection**: Your personal information stays private in public domain records—included by default with every domain purchase
* **Custom DNS records**: Add custom A, TXT, and MX records to configure email providers and other services
* **Automatic renewals**: Domains renew automatically so your apps stay published without interruption

## Usage

### Purchasing domains

1. In the Project Editor, select **Tools**, then **Domains** under **Replit Cloud**.
2. Under **Buy a new domain**, enter your desired name in **Search for a domain**, or review the suggested domains.
3. Review available options across different extensions.
4. Select your preferred domain and complete the purchase.

When you purchase a domain, it automatically configures to point to your Replit app. Visitors can reach your app at the domain once your app is published.

You will be billed for the domain purchase through your Replit account, deducted from your account balance then applied to your usage.

### Managing purchased domains

Your domains integrate seamlessly with your published apps:

* **Automatic renewals**: Domains renew automatically to keep your apps published
* **Integrated billing**: Domain costs appear on your Replit billing alongside other services
* **Transfer support**: Move domains between Replit accounts or to external registrars when needed

### Custom DNS records

For domains purchased through Replit, you can add custom DNS records to configure additional services like email providers. The following DNS record types are supported:

* **A records**: Point your domain or subdomain to a specific IP address
* **TXT records**: Add text-based verification records for services like email authentication (SPF, DKIM, DMARC)
* **MX records**: MX (Mail Exchange) records tell email servers where to deliver email for your domain. Setting up MX records allows you to use your custom domain for email addresses like `hello@yourdomain.com`.

To manage DNS records for your purchased domain:

1. Select **Tools**, then **Domains** under **Replit Cloud**.
2. Open the purchased domain you want to configure.
3. Expand **DNS Records**.
4. Select **Add DNS record**.
5. Choose the record type and enter the hostname and value required by your service provider. MX records also require a priority.

> [!NOTE]
>
> DNS changes can take up to 48 hours to propagate globally. Your app will
> continue to work normally during this propagation period.

### Supported deployment types

Domain Purchasing works with these Deployment types:

* **[Autoscale Deployments](https://docs.replit.com/features/publishing/deployment-types.md#autoscale)**
* **[Reserved VM Deployments](https://docs.replit.com/features/publishing/deployment-types.md#reserved-vm)**
* **[Static Deployments](https://docs.replit.com/features/publishing/deployment-types.md#static)**

Currently, you can purchase domains for your personal account published apps. Domain purchasing for Replit Pro is coming soon.

## FAQ

> [accordion] How much does it cost?
>
> Domain purchasing includes two costs:
>
> * **Registration fee**: The initial cost for one year of domain ownership (two years for `.ai` domains)
> * **Renewal price**: Automatically charged after the initial registration period
>
> Replit doesn't charge additional fees for domain purchases. Domain registration fees are non-refundable.

> [accordion] How do I renew my domain?
>
> Replit automatically renews your domain to keep your app accessible. To stop
> automatic renewal, open the **Domains** tool, select your
> domain, and turn off the **Auto renewal** toggle. The same view shows your
> domain's renewal date and renewal price.

> [accordion] What if I want to leave Replit?
>
> You can transfer your domain to another registrar by contacting Replit
> Support. ICANN rules require a 60-day waiting period after purchase before
> domains can be transferred to external registrars.

> [accordion] Can I transfer domains between Replit accounts?
>
> Yes, contact Replit Support to transfer domains between Replit accounts. This
> process doesn't require the 60-day waiting period.

> [accordion] Can I buy domains for my organization?
>
> Domain Purchasing for Replit Pro and Enterprise plans is coming after the
> initial beta period.

> [accordion] Can I add custom DNS records to my domain?
>
> Yes! You can add custom DNS records to domains purchased through Replit. Currently supported record types include:
>
> * **A records**: Point your domain or subdomain to specific IP addresses
> * **TXT records**: Add text-based verification records for email authentication and other services
> * **MX records**: Configure mail servers to handle email for your domain
>
> Open the **Domains** tool to configure these records. For detailed instructions on setting up MX records for email, see the [Custom DNS records](#custom-dns-records) section above.

> [accordion] What domain extensions are supported?
>
> We support all common top-level domains (TLDs). We cannot support TLDs with
> special geographic or other restrictions.

> [accordion] What is WHOIS privacy protection?
>
> When you register a domain, your contact information (name, address, phone number, and email) is normally published in a public database called WHOIS that anyone can search. WHOIS privacy protection replaces your personal details with generic information from the registrar, keeping your information private while still meeting legal requirements.
>
> All domains purchased through Replit include WHOIS privacy protection by default at no extra cost. This means your personal information stays hidden from spammers, marketers, and anyone else who might search for domain owner details.

> [accordion] What if I already have a domain?
>
> To connect an existing domain to your Replit app, see our [Custom Domains](https://docs.replit.com/features/publishing/custom-domains.md) documentation.
