
Hi All,
We have a public salesforce site (http://blah.force.com/example), but would like to set up a custom domain for this site such as: *example.domain.ca*
Using this Salesforce help article as a guide: https://help.salesforce.com/articleView?id=000205653&type=1
our DNS manager created a sub-domain example.domain.ca and pointed it to example.domain.ca.00ri00000000g5o.live.siteforce.com. This step was completed over 72 hours ago)
Now I'm trying to add the custom domain information to Salesforce (Setup > Domains > Add a Domain)
In the Domain Name field I entered the sub-domain created (*example.domain.ca*) and then selected "A non-Salesforce host or service serves this domain over HTTPS" with the value *example.domain.ca*
Unfortunately that results in the following error.
'Error: Salesforce.com can't validate the domain. The CNAME record may still be processing (which can take up to 24 hours), or the domain may not belong to you. Make sure the domain name database.academy.ca uses example.domain.ca.00ri00000000g5o.live.siteforce.com as its CNAME target and try again later. It presently uses www.example.domain.ca.00ri00000000g5o.live.siteforce.com as the CNAME target, which does not equal the expected value.'
Changing the Domain Name to include "www." results in this error:
Salesforce.com can't validate the domain. The CNAME record may still be processing (which can take up to 24 hours), or the domain may not belong to you. Make sure the domain name www.example.domain.ca uses example.domain.ca.00ri00000000g5o.live.siteforce.com as its CNAME target and try again later.
Screenshot of the first error below:
2 answers
Great question Becca. Running the DNS records for the domain I found in your example it looks like the CNAME record at your DNS host GoodMedia is incorrect. Remove the 'www.' from the CNAME record you created at your host, wait 60 minutes, and try again.
Also note that using the option 'A non-Saleforce host or service services this domain over HTTPS' is an advanced configuration and does not look like it will work in this situation. You'll probably need to use the option 'Salesforce serves the domain over HTTPS, on Saleforce's servers, using your HTTPS certificate' and then purchase a SSL certificate to support this from a third party.
Please let me know if this works for you!