I need to configure a Salesforce Community to display a customer URL, ie portal.[DOMAIN].com instead of the standard [DOMAIN].force.com/
The following KB from Salesforce doesn't seem to work
We've got the cert installed and everything seems to be setup correctly in Salesforce.
I've done this before but it only comes up every 18 mos or so. Whatever I learned last time (and didn't write down), is forgotten.
Appreciate any help.
Best Answer
I do not know how did you setup. But recently, I setup this and documented everything. Just follow this, you should be able to set it up.
Custom Domain Masking of Salesforce Communities
Prerequisites & Assumptions
Steps to setup the masking
Prepare Host-name for CNAME configuration from Salesforce:
Now host name will be based on this formula: .<18 digits Salesforce internal org id in lowercase>.live.siteforce.com
Create a CNAME entry in your DNS
Add the domain information to your Salesforce Org
Once CNAME propagation in DNS is completed, we can add this new custom domain in salesforce.
In your Salesforce Org, click Setup.
Under "Administer," Click Domain Management | click Domains.
Click Add A Domain.
Enter your custom domain in the Domain Name field.
Map the Custom Domain to your Community
In your Salesforce Org, click on Setup.
Under "Administration," click Domain Management | then click Domains.
Add HTTPS support to custom domains:
In above given 4 steps, we’ve completed domain masking successfully. But if you want your community to run over secure layer (HTTPS) then you’ve to add certificate as below:
Create a Certificate Authority (CA) Signed Certificate
After creating the certificate, click Download Certificate Signing Request. -After the certificate downloads, you'll need to send it to a CA of your choice.
After you get the certificate back
After you successfully upload the signed certificate, the status of the certificate will change to Active.
After you've uploaded your CA signed certificate, go back to "Domains" and enter your domain into the Domain Name field. Click the lookup icon next to Certificate and Key, and you'll be able to select your newly uploaded CA signed certificate.
Source Articles https://help.salesforce.com/articleView?id=000205653&type=1&language=en_US