문제

Trying to host a custom domain with Heroku. i have putting the following into terminal -

CNAME www.example.com example.herokuap.com

but I keeping getting the following error

 -bash: CNAME: command not found

help

도움이 되었습니까?

해결책

That's not a Heroku command, you need to use the Heroku CLI

heroku domains:add www.example.com

or do it from the web dashboard.

You then need to setup a CNAME record with your DNS provider to set www.example.com to example.herokuapp.com

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top