In Apache you can allow/deny access by domain name as well as by ip address.

In Nginx I know how to allow/deny by ip address but how do I do that by domain name ?

(Secondary concern doesn't it produce horrible performance problems as you take incoming ip address and do a reverse DNS on it ?).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.