Article last updated on:
January 14, 2026

If you’ve built a site or app in Replit, the final step to make it feel truly yours is connecting a custom domain.

By default, every Replit project runs on a .repl.co subdomain – fine for testing, but not ideal for production. Linking your own domain (like myapp.com) gives your project a professional edge, helps with SEO, and builds trust with users.

Here’s how to set up a custom domain on Replit, what you’ll need before starting, and how to avoid common DNS issues along the way.

CTA Button: Try Shipper instead of Replit

What You Need for Replit Domains

Before connecting your custom domain in Replit, make sure you have:

  • A published app: your project must be deployed before linking a domain.
  • A Replit Deployment plan: custom domains work with Autoscale, Reserved VM, or Static deployments.
  • A domain you own: you can buy one from providers like Namecheap, GoDaddy, or Cloudflare.
  • Access to DNS settings: you’ll need to add A and TXT records during setup.

Once these are ready, Replit will guide you through the connection and automatically secure your site with a free SSL certificate.

→ Replit Pricing

How to Add Your Domain to Replit

To add your domain in Replit, go to Deployments → Settings → Link a domain and enter domain. Then add the A and TXT records Replit provides to your domain registrar.

  1. Publish your app on Replit so it’s live and ready to connect.
  2. Go to the Deployments → Settings tab and click Link a domain.
  3. Enter your custom domain
  4. Copy the A and TXT records Replit shows you.
  5. Paste into your domain registrar’s DNS settings

When you connect your domain to Replit, you’re basically telling the internet that your web address (like myapp.com) should load your Replit app instead of the default .replit.app link.

Replit gives you two DNS records that you’ll paste into your domain provider’s DNS settings. These records point your domain to Replit’s servers and verify ownership.

After that, Replit checks the connection automatically.

Once your DNS changes have propagated (which can take up to 48 hours), your app will appear at your custom domain, complete with Replit-managed SSL for secure https:// access.

How to Disconnect Domain from Replit

To disconnect a domain in Replit, open Deployments → Settings and click Unlink next to your connected domain.

  1. Open your project in Replit.
  2. Go to the Deployments → Settings tab.
  3. Find the connected domain and click Unlink or Remove Domain.

Your project will immediately revert to its default .replit.app subdomain.

If you plan to use the same domain elsewhere, remember to delete the Replit DNS records from your registrar to avoid conflicts.


Better Than Replit For Custom Domains

Replit lets you connect a custom domain, but the setup can feel clunky. You need to copy DNS records manually, wait for propagation, and it only works with certain deployment types.

With Shipper.now it’s super quick.

Screenshot of https://shipper.now/

→ Shipper vs Replit

You can connect your own domain on any paid plan, get automatic SSL, and skip the DNS hassle entirely.

Your app goes live on your domain in seconds.

CTA Button: Try Shipper instead of Replit

FAQ: Replit Custom Domain

1. Can you use a custom domain on Replit?

Yes, Replit supports custom domains for published apps.

You can link your own domain through the Deployments → Settings tab and manage it with Replit’s built-in SSL for secure hosting.

2. Can I buy domains from Replit?

No, Replit doesn’t sell domains directly.

You’ll need to purchase your domain from a registrar like Namecheap or Cloudflare, then connect it to your Replit app using DNS records.

→ Replit alternatives

3. What happens to my custom domain if I cancel my Replit subscription?

If you cancel your Replit subscription or take your deployment offline, your custom domain will disconnect and your app will revert to its default .replit.app link.

You’ll still own your domain through your registrar, but it won’t stay connected to Replit unless you reactivate your deployment or upgrade again.

Related Guides

How to export code from Replit?
How to remove Replit’s watermark
How to cancel Replit subscription

Earn 50% + lifetime recurring commissions

Share Shipper with your audience and get paid every month, for life.

Become an Affiliate

Earn 50% + lifetime recurring commissions

Share Shipper with your audience and get paid every month, for life.

Become an Affiliate

Earn 50% + lifetime recurring on every sale

Share Shipper with your audience and get paid every month, for life — no cap on earnings.

Become an Affiliate

Earn 50% + lifetime recurring on every sale

Share Shipper with your audience and get paid every month, for life — no cap on earnings.

Become an Affiliate

Earn 50% + lifetime recurring on every sale

Share Shipper with your audience and get paid every month, for life — no cap on earnings.

Become an Affiliate

About the author

David leads the editing team at Shipper. With his help, the team publishes clear, practical guides on building products with AI. Whether it's apps, tools, or full websites, the goal is to help anyone bring their ideas to life.

David leads the editing team at Shipper. With his help, the team publishes clear, practical guides on building products with AI. Whether it's apps, tools, or full websites, the goal is to help anyone bring their ideas to life.