Fixed servername/domain switch

Signed-off-by: Mike Mackintosh <mike.mackintosh@angrystatic.com>