I know this question has been asked
Domain doesn't work without www
But I need a solution for node.js app hosted on heroku and using namecheap with komodo
Also, I found this similar thing which i didnt' understand at all.
Can someone give an example of how to handle this in node.js?
Details: I'm using express. In Heroku I have
example.me(Domain Name) yamanashi-3938.herokussl.com (DNS Target)
www.example.me(Domain Name) yamanashi-3938.herokussl.com(DNS Target)
In Namecheap I have:
@ | https://www.example.me | URL redirect
www | yamanashi-3938.herokussl.com. | CNAME