Allowing access retriction by subdomain

Added a *subdomain* parameter in order to allow a list of subdomains to be restricted.

This was useful for hosting camper_van and restricting the access.