# A and TXT records are duplicating

**URL:** <https://replit.discourse.group/t/a-and-txt-records-are-duplicating/5457>\
**Category:** Bugs\
**Tags:** deployments\
**Created:** [June 12, 2025, 11:59am UTC](https://replit.discourse.group/t/a-and-txt-records-are-duplicating/5457 "2025-06-12T11:59:20Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![conwaygavin](https://avatars.discourse-cdn.com/v4/letter/c/9fc29f/32.png) [@conwaygavin](https://replit.discourse.group/u/conwaygavin)\
**Post date:** [June 12, 2025, 11:59am UTC](https://replit.discourse.group/t/a-and-txt-records-are-duplicating/5457/1 "2025-06-12T11:59:20Z")

</div>

When linking a domain and generating TXT and A records for TLD ([example.com](http://example.com)) and subdomain ([www.example.com](http://www.example.com)) the TXT and A record being outputted by Replit are the same. For DNS purposes they need unique outputs.

---

<div class="post-metadata">

**Author:** ![realfunnyeric](https://yyz2.discourse-cdn.com/flex010/user_avatar/replit.discourse.group/realfunnyeric/32/2150_2.png) [@realfunnyeric](https://replit.discourse.group/u/realfunnyeric)\
**Post date:** [June 12, 2025, 4:12pm UTC](https://replit.discourse.group/t/a-and-txt-records-are-duplicating/5457/2 "2025-06-12T16:12:58Z")

</div>

You’re not changing the host name properly.

You’re not making @ records for both TLD and www. You need to change @ to www for the www record. It works.

---

<div class="post-metadata">

**Author:** ![adrianvonbausse](https://yyz2.discourse-cdn.com/flex010/user_avatar/replit.discourse.group/adrianvonbausse/32/723_2.png) [@adrianvonbausse](https://replit.discourse.group/u/adrianvonbausse)\
**Post date:** [June 12, 2025, 5:57pm UTC](https://replit.discourse.group/t/a-and-txt-records-are-duplicating/5457/3 "2025-06-12T17:57:10Z")

</div>

if it helps, I have blog post here I created a few months back explaining exactly how to do it.

> **[How to Buy and Set Up a Domain Name for Beginners](https://notesaboutstartups.com/blog/how-to-setup-a-domain-for-beginners)**
>
> Learn how to buy a domain name and set it up with DNS records in this beginner-friendly guide. Perfect for first-time website owners.

---

<div class="post-metadata">

**Author:** ![mark](https://yyz2.discourse-cdn.com/flex010/user_avatar/replit.discourse.group/mark/32/196_2.png) [@mark](https://replit.discourse.group/u/mark)\
**Post date:** [June 12, 2025, 6:01pm UTC](https://replit.discourse.group/t/a-and-txt-records-are-duplicating/5457/4 "2025-06-12T18:01:19Z")

</div>

I noticed similar. Found a workaround that someone could try if they want: [301 redirect in Deployments - #2 by mark](https://replit.discourse.group/t/301-redirect-in-deployments/4104/2)

---

<div class="post-metadata">

**Author:** ![realfunnyeric](https://yyz2.discourse-cdn.com/flex010/user_avatar/replit.discourse.group/realfunnyeric/32/2150_2.png) [@realfunnyeric](https://replit.discourse.group/u/realfunnyeric)\
**Post date:** [June 12, 2025, 8:24pm UTC](https://replit.discourse.group/t/a-and-txt-records-are-duplicating/5457/5 "2025-06-12T20:24:17Z")

</div>

I think you’re overcomplicating his problem here. I believe he’s getting an error at his registrar because he’s adding the same IP A and Verify TXT to Hostname @, instead of changing Hostname A and TXT to ‘www’ in which the values can be the same for ‘@’ and ‘www’

A common oversight for those new to this.

---

<div class="post-metadata">

**Author:** ![conwaygavin](https://avatars.discourse-cdn.com/v4/letter/c/9fc29f/32.png) [@conwaygavin](https://replit.discourse.group/u/conwaygavin)\
**Post date:** [June 13, 2025, 9:48am UTC](https://replit.discourse.group/t/a-and-txt-records-are-duplicating/5457/6 "2025-06-13T09:48:43Z")

</div>

Hey @realfunnyeric - you nailed the issue! I keep getting ‘Record name www conflicts with another record.’

I think the issue (now fixed) is that there was another CNAME record setup www, which was causing the conflict. (No idea how I did that)

Thanks for your help

---

<div class="post-metadata">

**Author:** ![realfunnyeric](https://yyz2.discourse-cdn.com/flex010/user_avatar/replit.discourse.group/realfunnyeric/32/2150_2.png) [@realfunnyeric](https://replit.discourse.group/u/realfunnyeric)\
**Post date:** [June 14, 2025, 4:26am UTC](https://replit.discourse.group/t/a-and-txt-records-are-duplicating/5457/7 "2025-06-14T04:26:51Z")

</div>

That’s great, I’m glad I could help! LMK if you need anything else.

---

<div class="post-metadata">

**Author:** ![willlam909](https://yyz2.discourse-cdn.com/flex010/user_avatar/replit.discourse.group/willlam909/32/3464_2.png) [@willlam909](https://replit.discourse.group/u/willlam909)\
**Post date:** [April 1, 2026, 4:05pm UTC](https://replit.discourse.group/t/a-and-txt-records-are-duplicating/5457/8 "2026-04-01T16:05:10Z")

</div>

ran into the same issue - this resolved it! Thanks!

---

<div class="post-metadata">

**Author:** ![realfunnyeric](https://yyz2.discourse-cdn.com/flex010/user_avatar/replit.discourse.group/realfunnyeric/32/2150_2.png) [@realfunnyeric](https://replit.discourse.group/u/realfunnyeric)\
**Post date:** [April 1, 2026, 4:06pm UTC](https://replit.discourse.group/t/a-and-txt-records-are-duplicating/5457/9 "2026-04-01T16:06:36Z")

</div>

You bet. Here to help!
