Print this page

Custom Domain and CNAME redirection without www in URL

Knowledge Article Number 000113361
Description When you have website hosted on Force.com Sites using Custom Domain with related CNAME record with our registrar. 

When sites.com hosted website works well when you go to example (www.abc.com.au) 
However, when loging to abc.com.au (without the www) is not working and is redirecting to salesforce login page.(eg:https://na9.salesforce.com/).
Resolution
This is Working as Designed.
 
 There are 2 possible ways customer can meet their requirement:
 
1)  Some (possibly all) Domain Registrars require a separate CNAME record for the address with and without the www. 
 
2) Customer would need to redirect abc.com.au URL themself or direct it to a second Force.com Site that uses the same pages or redirects.

Customer can use a DNS forwarder to setup the live.anz.com domain.

>Please follow the links mentioned below to know about the 'Force.com Sites Best Practices'; 
 




promote demote