Adding subdomain functionality
Merge pull request #1 from Plecebo/master

Adding subdomain functionality