I configured a hidden service and it works. But when i type the IP into a regular browser, the same web page is hosted from the apache server.
How do i prevent it from serving the http content and only serve the onion content.
Thanks
Tor Stack Exchange is a question and answer site for researchers, developers, and users of Tor. It only takes a minute to sign up.
Sign up to join this communityTo prevent the server from being accessible from the network, you need to bind your webserver to localhost rather than to all interfaces. So for example in your apache config, instead of:
Listen 80
You need:
Listen 127.0.0.1:80