How to Setup Canonical Domain Names with Apache | Linux Today

How to Setup Canonical Domain Names with Apache

Written By
Web Webster
Web Webster
Nov 27, 2009

“Using canonical URLs you can merge all of these so that your
web server treats them all the same in a web browser. This has a
positive impact on search engine optimization. Not using canonical
URLs has a negative impact on your SEO, as Google notices that
several URLs are returning the same content and penalizes you.

“Canonical domain name is the full form of CNAME. You might have
encountered this term while setting up your domain name. CNAME is
an entry, which is a part of your domain’s DNS records. A computer
hosting a website has an IP address, which is used to access the
content over the web. DNS helps us avoid distributing numeric IP
addresses to people and handles the conversion from domain names to
IP addresses. This is pretty straightforward when you have one
website being served by an IP address. However, you might want to
serve various websites with the same IP address and the same domain
name. This can be done using subdomains such as forums.sevenacross.
The subdomains are handled by the domain’s CNAME records.”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.