How to Update DNS Records to Connect a Domain to Replit
Question details
The user needs to configure DNS settings at their domain registrar to connect a custom domain to a Replit application.

- Product
- Replit
- Device & OS
- not provided
- Scenario
- Setting up a custom domain for a web project hosted on Replit by adding the necessary DNS records.
- Observed behavior
- Requires step-by-step guidance on safely adding A, CNAME, or TXT records without disrupting existing services like Microsoft 365 email.
Before you begin, ensure you have the exact A, CNAME, or TXT record values provided by Replit, and verify that you have administrative access to your domain registrar's dashboard.
Manually Update DNS Records in Your Domain Registrar
Use this method if you are the domain administrator or account owner with full access to the DNS management console.
Connecting your domain requires adding specific records generated by Replit to your domain registrar (such as GoDaddy, Namecheap, or Cloudflare). This process points your domain name to Replit's servers.
Navigate to the website where you purchased your domain and sign in to your administrator account.
Locate your domain in the dashboard and click on 'DNS Settings', 'Manage DNS', or 'Advanced DNS' to open the zone file editor.
Click 'Add Record' and input the exact A, CNAME, or TXT values provided by your Replit dashboard. Ensure there are no typos in the target fields.
Save the new records. Note that DNS changes can take anywhere from a few minutes to 48 hours to propagate fully across the internet.

Request DNS Updates via Your IT Administrator
If you do not have administrative access to the domain registrar, you must request your IT team to make these changes on your behalf.
Boost Your Development Workflow with WPS Office
While configuring your domains and managing web projects, you often need to draft documentation, track DNS settings in spreadsheets, or create presentations for stakeholders. WPS Office is a lightweight, free alternative to Microsoft Office that handles all your administrative tasks seamlessly.

Frequently Asked Questions
How long does it take for the Replit domain connection to start working?
After updating your A, CNAME, or TXT records, DNS propagation typically takes between a few minutes and 48 hours. You can use online DNS checker tools to verify if the new records have propagated globally.
Why did my Microsoft 365 email stop working after connecting my domain to Replit?
This usually happens if you accidentally modified or deleted the existing MX records in your domain registrar's DNS settings while adding the new records. Replit connections generally only require A, CNAME, or TXT records. Always leave MX records untouched to maintain your email routing.
What should I do if I can't find the DNS management page?
If you cannot access the DNS settings, you are likely not the domain administrator or the primary account owner. You will need to contact your IT team or the person who purchased the domain and provide them with the exact DNS values Replit generated.




