3

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

  • CNAME is not a redirect. It is an alias. Any CNAME equates a sub-domain to a domain name though trickier associations can be made. When you use a CNAME you would point it to a domain name or sub-domain that resolves through ordinary means. I am confused by your question. Can you tells us more about the tools that you are using and the mechanics of what you are trying to do?? – closetnoc Mar 9 '15 at 16:09
  • Are the edits sufficient? – Jackson Luckey Mar 9 '15 at 16:19
  • A bit clearer. Typically, a CNAME is used to alias www to a domain name. It would be www.example.com -> example.com. What is important is to use the full sub-domain name and domain name (www.example.com) and not just the sub-domain name (www) assuming I am recalling correctly. So I would suggest trying to change the www in your second line in your example to a full sub-domain name/domain name specification. If that is not enough, try associating it to your domain name instead of your hosts domain name. – closetnoc Mar 9 '15 at 16:46
  • What do you mean by associating it to my domain name? – Jackson Luckey Mar 9 '15 at 17:23
  • I was making an assumption that you had a domain name which may not be the case for what you are doing. Still somewhat confused as to whether you have a domain name that you registered or not. Sorry. – closetnoc Mar 9 '15 at 17:33
1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.