I've been spinning my wheels on this for weeks and I know others have asked this question but I can't seem to find enough detail to relate what others are doing to what I'm doing. And it doesn't help that the implementation guide is not in sync with Help & Training.
So what i've done so far in prod:
- Under Develop->Sites, Created force.com domain: somedomain.force.com
- Created a site under this domain to render a VF page: somedomain.force.com/test
- 'Requires Secure Connections (HTTPS) is checked (true), login not allowed, and IP ranges are set
- CNAME was registered to point to somedomain.force.com
When i enter my custom domain (somedomain.com) i get error: "Invalid URL The requested URL "/", is invalid. Reference #9.57e64217.1418350240.4c72196"
I've read that the CNAME should point to my force.com domain with 18 digit org id and live.siteforce.com but if I run dig or nslookup, that name does not resolve to an IP. Should it resolve to an IP address?
I've also read that I should create a domain in Salesforce under Domain Management and point it to my site, then have CNAME point to that domain, but i'm confused. I already created a domain (somedomain.force.com) prior to creating the site. So do I create a new domain and point it to the site that I created under somedomain.force.com? If yes, then do I point the CNAME to the new domain? And if I do have to create a new domain should it follow the format of .<18 digit org id>.live.siteforce.com?
Or is my original setup fine and the problem has more to do with the setting for 'Require Secure Connection (HTTPS)'?