问题
My client would like to point his Heroku app to a subdomain of his current website (lets say example.com
and subdm.example.com
).
Heroku provides nice example, how to set up pointing from Heroku app to custom domains - https://devcenter.heroku.com/articles/custom-domains
But how to do pointing from Heroku app to custom SUBDOMAIN?
Should I set up just heroku domains:add subd.example.com
?
I am rather asking for an advice, because I don't wanna screw up client's website and setup...
Thanks
回答1:
You've got it right, and don't forget to add the CNAME records with your DNS.
来源:https://stackoverflow.com/questions/12159369/heroku-custom-subdomain