Checks if domain works