Checking server type