New example to handle subdomains