Answer the question
In order to leave comments, you need to log in
How to filter requests from unwanted domains, except for a request for a specific path?
Situation: There are many domains that are directed to the same server by IP through an A-record.
Those. show the same content.
Task : give domains access only to a certain path, requests for other paths - redirect / error page. With the exception of the main domain, any path is allowed to it.
Example:
Answer the question
In order to leave comments, you need to log in
Situation: there are many domains that are directed to the same server by IP through an A-record.Why is that? Why weren't www-root-directories separated by domain names in the config?
Those. show the same content.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question