Add Domains Using CNAME Records in Site.com
To publish a site to the Internet, you must first set its domain information. Add a domain name using a CNAME record if you're creating a domain name, or if you're adding a domain name that's currently not in use.
Required Editions
| Available in: Salesforce Classic |
Available for purchase in: Enterprise, Performance, and Unlimited Editions Available (with limitations) in: Developer Edition |
| User Permissions Needed | |
|---|---|
| To manage domains and publish Site.com sites: | Site.com Publisher User field enabled on the user detail page AND Site administrator role assigned at the site level |
If you don't already have a branded, custom Web address, such as www.mycompany.com, create one by registering through a domain name registrar.
Each domain name in Site.com must be unique. Salesforce verifies your domain name when you add it to the site's list of domains, and again when you publish the site.
You can also add a custom path to your domain name to create a custom URL. A custom URL consists of the domain and a custom path. The same path name can be used on more than one domain, but it can't be used more than one time within the same domain. When adding a domain, the / is required for the path. It indicates the root. You can add another custom name after the /, but you must at least use the / to indicate the root. For example, if the domain name is https://oursite.com and the path is /products, the site URL is https://oursite.com/products. If you added the custom URL to the root, the URL is https://oursite.com.
- In the account management settings of your DNS provider, create a CNAME record. CNAME records must include your domain name, your 18–character organization ID, and the suffix live.siteforce.com. For example, if your domain name is www.mycompany.com and your organization ID is 00dx00000000001aaa, then the CNAME must be www.mycompany.com.00dx00000000001aaa.live.siteforce.com. You can find the organization ID on the new domain page in Domain Management within Setup.
- When your CNAME record is available on the Internet, open Site.com Studio and click Site Configuration | Domains on the Overview tab.
- Enter the domain name in the text box provided—for example, www.mycompany.com.
- Add an optional path name.
- click Add.
- Repeat for any additional domain names. For example, you want to include common misspellings of the domain name in case users make typing mistakes. You must create a corresponding unique CNAME record for each domain name. You can add up to ten domain names.
- When you're ready to go live, publish the site.
- If you have an MX record set up for your domain's mail service, the domain
assigned to the MX record can't be the same as the domain you assign to your
CNAME record. If you create a CNAME record using the same domain as your MX
record, your mail service is disabled.
For example, if you have mydomain.com assigned to your MX record, and you want to use it for your CNAME record, we recommend assigning www.mydomain.com to your CNAME record instead, and then working with your DNS provider to redirect mydomain.com to www.mydomain.com.
- When you update existing domain information, you must publish your changes for them to take effect. If you see a message that there are no changes to publish, first update a page in your site and then publish your changes.
- A records aren’t supported.

