Heroku CNAME redirect leads to www.www

Heroku CNAME redirect leads to www.www - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Heroku CNAME redirect leads to www.www error on your web browser. Problem :


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


Solution :

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.


We hope that this article has helped you resolve the redirects, url, heroku error in your web browsers. Enjoy browsing the internet uninterrupted!

Comments

Popular posts from this blog

How to redirect to any domain [duplicate]

"302 found" for index page bad for SEO?

Create redirect from url like www.example.us/?p=100&option=