Heroku CNAME redirect leads to www.www
I'm trying to use a domain name I have on Namecheap with Heroku. Heroku's documentation advised a CNAME Alias. In the past, I've gotten other domains on the same service (Namecheap) to work with Heroku, but I can't get this domain to work. I followed Heroku's instructions and imitated the way the other domains are set up.
Using Namecheap's web tool, I changed "All Host Records". In that section, I have:
@ http://www.example.com URL Redirect
www example.herokuapp.com CNAME (Alias)
set up at the top of the page. In Heroku's app settings, I can see that www.example.com is a domain of example.herokuapp.com, which I configured with the command line.
When I go to www.example.com, however, I get
The server at page "www.www.example.com/?from=@" is not responding".
Any ideas how to fix it? I already tried manually changing the DNS to Google's servers, as well as using just about every variation of my domain. The additional www and /?from=@ seems to be a clue, but I'm not sure what's causing it.
To be clear, my objective is running my Heroku app through www.example.com
For anyone who has this issue come up, changing the DNS to v1 using Namecheap's online interface and then setting the "@" row to blank fixed the issue.
Comments
Post a Comment