herokudnssubdomainnamecheap

configuring namecheap domains with heroku


I have a app on heroku(paid dyno):

https://example.herokuapp.com/

I have purchased a domain:

www.example.com

After reading multiple guides I can't figure out how to do the following:

The overall goal is to have a domain like api.example.com

Thanks. NOTE: Please do not simply link to documents from heroku and namecheap. I have read them all, and they are out of date/unspecific.


Solution

  • I have just done something similar recently and I think it's what you need. In my case, I need to turn on SSL ACM (Automatic Certificate Management) for my existing heroku app.

    First, you need to turn on Automatic Certificate Management to get the SSL certificate from heroku.

    Second, you need to login to your namecheap dns zonefile page and add a CNAME.