fix redirect loop when viewing a domain that doesn't exist
Merge pull request #916 from dimagi/redirect-loop

fix redirect loop when viewing a domain that doesn't exist