New example to handle subdomains
Merge pull request #1 from cat2608/master

New example to handle subdomains