Add privileges to CP 'Allowed hostnames' and fix a typo on edit IPs