To publish a site to the Internet, you must first set its domain information. Add a domain name using a TXT record if you're reusing a domain name that's currently in use. For example, if you're migrating from an existing site to a new Site.com site, you can transition seamlessly to the new site when you're ready to go live. This method is suitable only for existing sites that use DNS A records.
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 |
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.
-
In the account management settings of your DNS provider, create a TXT record
that contains your organization's ID. To find the ID, open Site.com Studio,
click Site Configuration | Domains on the Overview tab, and copy the organization ID displayed
there.
Contact your DNS provider if you're unsure how to create a TXT record.
- When your TXT record is available on the Internet, enter the domain name in the text box provided in the Domains view—for example, www.mycompany.com—and 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 can add up to ten domain names.
- Publish your Site.com site when it's ready. It isn’t yet live on the Internet.
-
To go live, in your DNS account management settings:
- Create a CNAME that meets the following criteria. 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.
- Delete the old A record, and also the TXT record that you created in step 1.