Django
gives admin url
automatically, such as www.example.com/admin
.
I do not want any outside visitors to access this url. This should be accessed only with in the host and allowed IP address
.
If I try to access to https://instagram.com/admin/
(which is built using Django
),it gives 404 page not Found error
How can I achieve the same behavior?
what is the preferred and right way to do it?
I host my webservice
inwebfaction
and allowing IP address
of host means other webfaction account-holders might be able to access the admin URL which I dont want to. Looking for a neat and simple way
Thanks:
PS: I see a similar question posted here but that is with respect to PHP. I am wondering how can I acheive the same using Django
?