When you setup a website, it's quite common to buy all of the most popular extensions (e.g. .com, .co.uk) to make sure as many people as possible can easily get to your website. Normally you will only have one website but want both domains to point to it.
Adding a CNAME allows you to get both the .com and .co.uk version of your domain loading your website. CNAME or Canonical name records are used to map or point one hostname to another, for example to alias www.domain.com to www.domain.co.uk.
Here's how to create a CNAME record for your domain name:
- Log in to your LCN.com account.
- Click the Domains icon and select Manage next to the domain you wish to amend.
- Click Edit DNS Settings in the Current Domain menu on the left.
- Scroll down to the CNAME section and click the Add A CNAME Record button.
- In the Alias field enter the text you want before your domain. For example:
Entering www will create the full hostname that be aliased (www.yourdomain.com).
Note: The alias field can't be blank.
- In the Hostname field enter the address of the domain you want to point to e.g. www.domain.co.uk.
- Click Add CNAME Record and allow up to 24hrs for the changes to take effect.
New CNAME records will normally start aliasing to the alternative hostname straight away, however if you were running a website for www.domain.co.uk you would also need to configure the web servers virtual host and include a ServerAlias directive listing the domain you've just aliased.
Here is a quick demonstration