Set correctly host in ActionHandler