Answer the question
In order to leave comments, you need to log in
How to disallow subdomains via htaccess (subdomains refer to the main domain)?
Shared hosting is configured so that all subdomains point to the main domain folder.
This domain is multisited (for subdomains).
In reality, there are several subdomains. Is it possible to disable (for example, issue 404) all subdomains through htaccess except for a few necessary ones?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question