function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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)
CM Pandey 7CM Pandey 7
Have You tried using SSL : Whastapp Group Link (https://wpgroup.sahajog.com)   PSD Background (https://psd.guidediary.com)
cody willscody wills
Hi Gennadiy

Give domain change request at search console and give 301 permanent redirection
try also to Consult website development company (https://www.codewills.com) experts(https://www.codewills.com)
Custom website development services in india (https://www.codewills.com/website-development-services)

Thanks for the information
 Regards
Naresh
cloudia johncloudia john
That's right cody sometimes give domain change request in older domain search console helps google to identify the domain change but 301 permanent redirection is a must. Managed web hosting services (https://www.cloudyea.com) can guide you in that process of migration or managed hosting 
leon johnleon john
Online learning platforms like Learningberg can help you find the right solutions for the isues. Online learning platforms (https://www.learningberg.com) provides guided instructions and details regarding such issues or related course. Cyber security basic online course (https://www.learningberg.com/courses/cyber-security-basics/) can give more insights  about Such security applications
stacy johnstacy john
With expert SSL specialized staffing services (https://www.stakefield.com/staffing-services) can help you find solutions in the long term of enterprises. For quick expert solution temporary staffing services (https://www.stakefield.com/temporary-staffing-services) are a wise choice to get the job done for the issues
James Moore 73James Moore 73
Gold is the key to access many types of content. You can buy the necessary things. And if you are looking for D4 gold for sale, you are in the right place. Diablo4Golds.com is the best place where you can find tons of d4 gold (https://www.diablo4golds.com/) to buy.