Using CNAME with your site collection

Custom domains

CNAME forwarding is the preferred method for connecting a domain name you have purchased to an Acquia Cloud Site Factory site collection.

A CNAME record redirects website visitors from the domain name they entered in their browsers to another domain name — in this case, your Acquia Cloud Site Factory site collection. Using CNAME to point to a site collection location instead of an IP address also allows Acquia Cloud Site Factory to better guarantee high availability.

To use a CNAME record for your domain name:

  1. Contact your domain name registrar and learn how to manage your domain name. In most cases, you can access DNS controls by logging in to your domain name registrar's website. Your domain name registrar is your best resource for information about managing your domain name on their website.
  2. Using your domain name registrar's instructions, create the www subdomain of your domain, as well as any other required subdomains.
    Subdomains are addresses based on your second-level domain name, but prefixed with an additional descriptor, such as www or blog. For example, if your domain name is cars2rentorbuy.com, you would create www.cars2rentorbuy.com along with any other required subdomains.
  3. Create a CNAME entry or record to point the complete www subdomain (and, separately, any other subdomains) to your Acquia Cloud Site Factory site collection.

After you create a CNAME record for your custom domain, you must add the domain to your Acquia Cloud Site Factory site collection.

Adding your domain

To add the www subdomain (and any other subdomains you created for your domain name) to your Acquia Cloud Site Factory site collection:

  1. Sign in to the Factory interface, find the site collection to which you want to add a custom domain name, and then open its actions menu.

    Select Manage domains from the actions menu

  2. Click Manage domains.
  3. In the Associate a domain section, enter your domain name (such as www.cars2rentorbuy.com).
  4. Click Associate domain.

Your www subdomain directs visitors to your Acquia Cloud Site Factory website and all its URLs will be listed.

Because some users will not use the www when visiting your website, forward your domain name (such as cars2rentorbuy.com) to the www subdomain (www.cars2rentorbuy.com) based on your domain name registrar's instructions.

Your website's visitors can then find your website with or without the www.

Troubleshooting domain issues

You can add domain names to only one environment. Attempting to add a domain to a second environment causes Acquia Cloud Site Factory to both fail with a logged warning message, and send an email similar to the following to the user who attempted to add the domain:

The following domains could not be added to the [sitename] site: [domain list]. If you wish to add this domain to the [sitename] site, remove it from the site that has claimed the domain and then add it again at [factory URL].

To resolve the problem, remove the domain name from both environments and then add the domain name to the single, appropriate environment.

Continue to the next step >

Contact supportStill need assistance? Contact Acquia Support