Properly configure allowed hostnames