+ Start a Discussion
GennadiyGennadiy 

Custom URL for SF Community in a browser address bar

Hi All.

Could you please help us to find a solution for our issue?

We need to set a custom URL for our SF Community (not a Force.com site). To do that we performed the following steps:
- registered a custom domain (www.mycompany.com) using the GoDaddy service and added a necessary CNAME there to point this URL to our SF community.
- added a domain for this URL in Salesforce.
- created a Custom URL in Salesforce to point this domain to the community.

Now, if we enter a custom URL in a browser (www.mycompany.com), then it correctly redirects us to the Salesforce community. And it's exactly what we want, except one thing: in address bar of a browser we still see old URL: XXX.force.com.

So, Is it possible to configure this custom URL so that we could see "www.mycompany.com" in an address bar? What should we pay attention for to implement this behavior?

Thank you. Gennadiy.

p.s. One of our assumptions is that we should do something more with CA-certificate and SSL-certificate. If anyone knows more whether they affect on the described problem or not, please push us in a right direction.
Best Answer chosen by Gennadiy
GennadiyGennadiy
We've found a solution for this. Our initial assumption was right: we need to do more actions to generate and sign a SSL-certificate, otherwise all requests via HTTPS-connection are redirected correctly to your SF community, but then a custom URL is replaced by XXX.force.com in a browser's address bar.

Here is the list of full actions that are required:
1) Add the custom URL to Salesforce - it has been done previously
2) Generate a Certificate Signing Request from Salesforce
3) Create a CNAME (Alias) record in your domain name registrar - it has been done previously
4) Generate an SSL certificate in your domain name registrar
5) Upload the SSL certificate to Salesforce

I would also give a link to this source, which gives more information about these steps:
http://thinkaholics.com/salesforce/how-to-add-a-custom-url-to-salesforce-communities/

Hope this information will help others.

All Answers

Jha dilipJha dilip
Have u checked or tried mydomain functionality of salesforce. i think it can help to customize urls as per our need
GennadiyGennadiy
Hi Jha dilip. Thank you for a response.

It looks like "mydomain functionality" allows us only to register a subdomain in the "my.salesforce.com" domain. It's not something that we want to do.
GennadiyGennadiy
We've found a solution for this. Our initial assumption was right: we need to do more actions to generate and sign a SSL-certificate, otherwise all requests via HTTPS-connection are redirected correctly to your SF community, but then a custom URL is replaced by XXX.force.com in a browser's address bar.

Here is the list of full actions that are required:
1) Add the custom URL to Salesforce - it has been done previously
2) Generate a Certificate Signing Request from Salesforce
3) Create a CNAME (Alias) record in your domain name registrar - it has been done previously
4) Generate an SSL certificate in your domain name registrar
5) Upload the SSL certificate to Salesforce

I would also give a link to this source, which gives more information about these steps:
http://thinkaholics.com/salesforce/how-to-add-a-custom-url-to-salesforce-communities/

Hope this information will help others.
This was selected as the best answer
Jha dilipJha dilip
Hi Gennadiy

Thanks for the information

Regards
Dilip
Alex Lui 9Alex Lui 9
Hi Gennadly,

Just to confirm, after you generated/uploaded the SSL certificate to salesforce, you were able to successfully get "www.mycompany.com" to appear/remain in the address bar. May I ask what SSL certificate you used? (Standard, Wildcard, Multi-Domain (SAN), or Extended Validation (EV)) Thanks!
GennadiyGennadiy
Hi Alex. I don't remember exactly, but think it was Standard SSL certificate.
Wilfredo Morillo 23Wilfredo Morillo 23
Hi Alex, 

Did you ever got this to work as you wanted? I'm in the same situation. 
N Kumar 6N Kumar 6
Hi Gennadiy

Thanks for the information
 Regards
Naresh
sarkari yojana (https://pmyojanahindime.in/)
CM Pandey 4CM Pandey 4
Why No Gennadiy  ! Guide Diary (http://guidediary.com) MLM Diary (http://mlm.psdpedia.com)