A
A
Altyn Bek2015-10-07 07:34:22
linux
Altyn Bek, 2015-10-07 07:34:22

How to configure the site so that it is visible only on the internal network?

Good day to all! There is a site.com domain, and created subdomen.site.com, and how to configure it to be visible only on the internal network? Where to dig, in the DNS or Apache settings?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DevMan, 2015-10-07
@altyn

if it's fast, disable access in htaccess from everyone except the internal network.
like this:

Order Deny,Allow
Deny from all
Allow from 192.168.1.1/24

C
Cat Scientist, 2015-10-07
@eruditecat

Raise your local DNS and let it support your subdomain.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question