2

I developed a website with Django and I am deploying it with apache and mod-wsgi (as explained here). The catch is that I want to make sure that this website is accessible only on my local network.

On the same server, I will publish another website, probably with Apache too, that will be accessible to the Internet.

How can I manage this?

a06e
  • 353
  • 1
  • 4
  • 10

1 Answers1

2

Either use the Access Control from Apache to allow only internal IPs or use a middleware like Django IP Restrict.

senden9
  • 121
  • 4