So, my registered common name for SSL is a non-www address. I have successfully redirected http://example.com
to https://example.com
, but www.example.com
redirects to https://www.example.com
rather than the non-www https address even though I have created a redirect (using Namecheap) with a source URL:
www.example.com
and a destination URL:
https://example.com
To further clarify, in the Advanced DNS section, I have a URL Redirect Record with Host
www
and value
https://example.com
This is a Rails app running on Heroku. What am I doing wrong?