Domain connection setup: Show @ for root domains and remove fqdn for subdomains #103533
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Part of https://linear.app/a8c/issue/NOMADO-169/update-the-name-texts-on-the-advanced-domain-connection-setup-screen
Proposed Changes
This PR improves the domain connection experience by correcting how DNS records are displayed in the advanced setup for both root domains and subdomains:
A
records now display "@" instead of the full domain name.A
records now display only the subdomain part.CNAME
record for www now displays only the subdomain part, prefixed withwww
.Why are these changes being made?
These changes enhance the domain connection process by ensuring DNS record formats are accurate for both root domains and subdomains. Most popular domain registrars (including ours) automatically append the domain name when configuring
A
orCNAME
records. As a result, displaying the full domain previously led less technical users to mistakenly create records likedomain.ext.domain.ext
, causing connection issues and user frustration.Testing Instructions
This PR depends on this backend update: 183202-ghe-Automattic/wpcom
Pre-merge Checklist