Check that the domain actually resolves to the Pages server

Fixes #6