code: @RequestMapping(value = "api/edit/server/{id}/host", method = RequestMethod.POST)
      public
      @ResponseBody
      ServerRedirect updateDestRedirectHost(Model model, @PathVariable int id, String hostHeader) throws Exception {
          ServerRedirectService.getInstance().setHostHeader(hostHeader, id);
          return ServerRedirectService.getInstance().getRedirect(id);
      }
docs: Updates the dest host header in the server redirects
  
  @param model
  @param id
  @param hostHeader
  @return
  @throws Exception