You need to sign in to do that
Don't have an account?
Morgan Marchese
Mask My sitename.force.com URL with a URL from our corporate website?
We have a ligthning community created using Community Builder. We are trying to mask the URL (https://unfriendlyUrl.force.com/path) with our own corporate URL (https://commsite.harms123.com). I have been following this salesforce help documentation, as well as various posts on the dev forum and Salesforce Stack Exchange. Here is the official SFDC documentation:
https://help.salesforce.com/HTViewHelpDoc?id=siteforce_domains.htm&language=en_US (https://help.salesforce.com/HTViewHelpDoc?id=siteforce_domains.htm&language=en_US)
So far this is what we've done:
When I go to my browser and go to community.corpsite.com, it redirects me to https://unfriendlyUrl.force.com/path, but doesn't mask the URL. This results in our customers having a poor branding experience, since we ask them to go to community.corpsite.com but they are being redirected to the force.com URL.
What am I doing wrong? From what I read online in their documentation, they seem to indicate that this is possible, but I can't get it to work. Is this possible? Where do I start, what is my best place for documentation on this? Could use some help, been struggling with this all day.
Thanks for your time
https://help.salesforce.com/HTViewHelpDoc?id=siteforce_domains.htm&language=en_US (https://help.salesforce.com/HTViewHelpDoc?id=siteforce_domains.htm&language=en_US)
So far this is what we've done:
- We created a CNAME subdomain on our corporate website, lets call it community.corpsite.com.
- We pointed that CNAME to community.corpsite.com.OUR-18-DIGIT-ORGID.live.siteforce.com as instructed in the guide
- We went to Site Configuration | Domains in Setup and created community.corpsite.com as a domain.
- We went to Site.com Studio, Site Configuration | Domains and made sure that the custom domain (community.corpsite.com) was listed.
- We published the site through both Site.com Studio AND Community Builder
When I go to my browser and go to community.corpsite.com, it redirects me to https://unfriendlyUrl.force.com/path, but doesn't mask the URL. This results in our customers having a poor branding experience, since we ask them to go to community.corpsite.com but they are being redirected to the force.com URL.
What am I doing wrong? From what I read online in their documentation, they seem to indicate that this is possible, but I can't get it to work. Is this possible? Where do I start, what is my best place for documentation on this? Could use some help, been struggling with this all day.
Thanks for your time
A Canonical Name record (abbreviated as CNAME record) is a type of resource record in the Domain Name System (DNS) used to specify that a domain name is an alias for another domain, the "canonical" domain. All information, including subdomains, IP addresses, etc., are defined by the canonical domain.
However, it is instead acting like a forwarder, forwarding me to the force.com address rather than aliasing it. Forwarding and masking won't work in our situation (that I'm aware of), because the masking would go away as soon as you click on any other link on the community site, wouldn't it?
By using MyDomain, CNAME settings and a URL Rewriter Class for our public force.com site, we can achieve a branded link like e.g. service.shore.com/order/123456
but as soon as the link is opened, we see
myDomain.force.com/order/123456 - which is not at all branded nor brandable, since some else took our favorite myDomain name.
Can this be done?
Sz