Redirecting webserver requests

Discussion in 'Server Operation' started by ubutux, Jan 19, 2008.

  1. ubutux

    ubutux New Member

    I have a an upgraded second internet server running ispconfig in the dmz of an ipcop box.I want to eventually shift all the current domains over to the new server.Any new domains will be added to the new server.Is it possible to redirect requests to each of the webservers as needed depending if the domain is on the new or current server ? Thanks for any help or information that you can give me.
     
  2. chipsafts

    chipsafts New Member

    You could do this with iptables,
    but I don't know if that would be a feasable workaround for your setup.
     
  3. falko

    falko Super Moderator Howtoforge Staff

    I think you can do this with Apache's mod_proxy or mod_rewrite.
     
  4. ubutux

    ubutux New Member

    Thanks for the replys .I have been reading about mod_rewrite it looks like it will do the job,havnt read about mod_proxy as yet but i will investigate.thanks again
     

Share This Page