Add check for domain on server