I think I read and/or played a google video about cname redirects and their effect on rank. The takeaway that I got was that using a cname that redirects to the main site was OK as long as the site content was consistent with the cname.

Has anyone tried this with good result? Did you need to register the cname as another site?

Dani AI

Generated

Short answer for : a DNS alias (CNAME) only maps one hostname to another at the DNS level — it is not an HTTP redirect and doesn’t by itself tell search engines which hostname you want indexed. To consolidate indexing and ranking signals, explicitly indicate the canonical hostname (preferably with server-side 301 redirects; rel="canonical" is a fallback). See Google’s guidance on consolidating duplicate URLs for details: Consolidate duplicate URLs.

Practical checklist before you touch DNS or hosting:

  • Pick one canonical hostname (with protocol, e.g., https://www.example.com).
  • Configure the alias host to respond with a permanent 301 to the canonical hostname. DNS changes alone will not do this.
  • Make sure TLS certs cover any hostname that will be served over HTTPS (certificate mismatch prevents the redirect from succeeding in browsers and for crawlers).
  • If you cannot do 301 redirects, add rel="canonical" on every aliased page pointing to the canonical URL — monitor closely because this can be less reliable than redirects.
  • Add and verify both hostnames in Google Search Console to track coverage and indexation during the change; verification is for monitoring and troubleshooting, not a substitute for proper redirects.

Clarifying ’s point: you will need access to DNS and webserver (or CDN) configuration to implement redirects, certs, and correct host-header handling. Avoid meta-refresh or JavaScript redirects for this purpose; use server-side 301 wherever possible.

Recommended Answers

All 3 Replies

SEO is an acronym for "search engine optimization" or "search engine optimizer." Deciding to hire an SEO is a big decision that can potentially improve your ...

______________________________________________________
Want to get-on Google's first page in 48 hours and flood your site with traffic? Try Traffic Geyser, the internet's #1 video marketing software at Traffic Geyser

Search engine optimization (SEO) is the process of improving the visibility of a web site or a web page in search engines via the "natural" or un-paid ...

______________________________________________________
Want to get-on Google's first page in 48 hours and flood your site with traffic? Try Traffic Geyser, the internet's #1 video marketing software at Traffic Geyser

Either CNAME or A-record is fine but you friend will need access to the dns records of the domain to be able to make any either change.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.