It's not something Hiawatha can do. I believe a webserver shouldn't do things which can easily be done via CGI. To redirect hostnames, simply let a CGI program print a Location HTTP header line. Example in PHP:
<?php
header("Location: http://example2.com/");
?>