changes to allow for different hostnames
possible for different domains (server hostnames)
:Merge branch 'master' of https://github.com/camhart/webapp