From 5b5b297dd5be13af507795cba81b6789fec08410 Mon Sep 17 00:00:00 2001 From: ameer2468 <33054370+ameer2468@users.noreply.github.com> Date: Mon, 1 Sep 2025 14:53:49 +0300 Subject: [PATCH 1/2] No CNAME for domains --- .../organization/components/CustomDomainDialog/VerifyStep.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/web/app/(org)/dashboard/settings/organization/components/CustomDomainDialog/VerifyStep.tsx b/apps/web/app/(org)/dashboard/settings/organization/components/CustomDomainDialog/VerifyStep.tsx index a28796aba6e..c57dadd7a54 100644 --- a/apps/web/app/(org)/dashboard/settings/organization/components/CustomDomainDialog/VerifyStep.tsx +++ b/apps/web/app/(org)/dashboard/settings/organization/components/CustomDomainDialog/VerifyStep.tsx @@ -95,7 +95,8 @@ const VerifyStep = ({ recommendedCnames.some((rec) => currentCnames.includes(rec.value)); const showARecord = recommendedAValues.length > 0 && !aRecordConfigured && !isSubdomain(domain); - const showCNAMERecord = hasRecommendedCNAME && !cnameConfigured; + const showCNAMERecord = + hasRecommendedCNAME && !cnameConfigured && !isSubdomain(domain); const showTXTRecord = hasTXTVerification && !isVerified; const handleCopy = async (text: string, fieldId: string) => { From ad652d62b242b854441007259335a47da0076b0a Mon Sep 17 00:00:00 2001 From: ameer2468 <33054370+ameer2468@users.noreply.github.com> Date: Mon, 1 Sep 2025 15:01:39 +0300 Subject: [PATCH 2/2] Update VerifyStep.tsx --- .../organization/components/CustomDomainDialog/VerifyStep.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/app/(org)/dashboard/settings/organization/components/CustomDomainDialog/VerifyStep.tsx b/apps/web/app/(org)/dashboard/settings/organization/components/CustomDomainDialog/VerifyStep.tsx index c57dadd7a54..fc2aa3bf982 100644 --- a/apps/web/app/(org)/dashboard/settings/organization/components/CustomDomainDialog/VerifyStep.tsx +++ b/apps/web/app/(org)/dashboard/settings/organization/components/CustomDomainDialog/VerifyStep.tsx @@ -96,7 +96,7 @@ const VerifyStep = ({ const showARecord = recommendedAValues.length > 0 && !aRecordConfigured && !isSubdomain(domain); const showCNAMERecord = - hasRecommendedCNAME && !cnameConfigured && !isSubdomain(domain); + hasRecommendedCNAME && !cnameConfigured && isSubdomain(domain); const showTXTRecord = hasTXTVerification && !isVerified; const handleCopy = async (text: string, fieldId: string) => {