Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question