Redirect https://example.com to https://www.example.com: Namecheap and Heroku
问题 I'm trying to redirect all requests to: https://example.com http://www.example.com http://example.com to https://www.example.com . I'm using Heroku and Namecheap. Here are my steps: In Heroku, I added www.example.com to my domains, and enabled SSL. On Namecheap, I created a CNAME record with host www to www.example.com.herokudns.com. On Namecheap, I created a URL Redirect record with host @ to https://www.example.com/ . With these steps, everything works well as long as I redirect http