Additional url hacks to support arbitrary domains

In server environments (QS AMI), need to allow accessing the site on a
domain other than the one initially installed (vip.dev)

Fixes #195
Fix equality check in domain hack
Merge pull request #198 from nickdaugherty/issue-195

Additional url hacks to support arbitrary domains