I've reviewed Heroku's custom domain tutorial several times but I can't seem to make my Heroku app work with a custom domain (hosted on namecheap.com). The problem: Herokudns doesn't resolve the app name
This is my configuration at Heroku:
And these are my DNS records:
When I go to either omaiga.com.sv or www.omaiga.com Heroku responds: "No such app. There's nothing here, yet." What am I doing wrong?
Some details:
I'll answer my own question: according to Heroku's documentation the *.herokudns addresses are not browsable. Instead, Heroku uses the 'Host' header from the client to ensure the correct application responds to a request.
The problem here was that the Host header is coming with 'www' from Namecheap (since I made that my canonical name -CNAME-) but I didn't give the 'www' to Heroku so the solution is to add the custom domain in Heroku with 'www'.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With