When building the URL used to resolve the CNAME, use settings values rather than hard coded value
Merge pull request #276 from allanw/master

When building the URL used to resolve the CNAME, use settings values rather than hard coded value