E
E
Egor2016-06-07 19:06:14
PHP
Egor, 2016-06-07 19:06:14

How to restrict access to the test site?

There is a site, I want to make a subdomain. For example dev.exemple.ru. But what is the best way to restrict access to it? The first idea is to look at ip and redirect to the main site if it does not fit. Perhaps there are better options?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
devian3000, 2016-06-07
@devian3000

The solution is simpler, if you develop alone, then it's easier to throw the hostname in hosts.
Or use Allow directives

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question