python - How to hide herokuapp.com site built in Django when the site is live -
let's have app in django (python environment)
example.herokuapp.com
and put site live
example.com
how achieve site not accessible via
example.herokuapp.com
i not want access way in case trying to.
is there way?
in order hide
example.herokuapp.com
from django live site
example.com
set
allowed_hosts=['example.com']
for polishing website top detail, create beautiful custom 500.html template.
Comments
Post a Comment