Background
We have a salesforce community called mycompany.force.com/
We also have a custom domain: mycompany.my.salesforce.com
where users have Company Community Licenses. Because my users have that license which is a special one, they cannot log in from the standard community login page and that is why we created a custom domain (to create a custom login page and redirect users to the community). From our custom login page, we redirect users to our community.
The problem arose when we created a CNAME pointing to our custom domain; instead of taking us to the custom login page, it is redirecting us to the standard Salesforce login (so users cannot login to the community).
We have tried several things to fix this issue:
Create a CNAME pointing to
MyCompany.force.com.
This is redirecting to na1.salesforce.com (Instead of going to my community login page)Create a CNAME pointing to
MyCompany.OrgID18.live.siteforce.com
My domain name has a TXT record that equals 00XXX000000ivokeac with no punctuation. My domain name is a subdomain of an another domain in my organization. This redirects me to https://na1.salesforce.com/.
Nothing seems to work though. Any ideas on anything else we can try? Thank you!