Fixes issue with subdomains config on server