1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

IP-based hosting: Routing of three ip's in one home-directory, how to?

Discussion in 'Plesk for Linux - 8.x and Older' started by Udo Gerhards, Mar 1, 2006.

  1. Udo Gerhards

    Udo Gerhards Guest

    0
     
    Hi,

    i'm very new to plesk and i got some question about ip base hosting. One of my customers want's to host 6 domains with ip-based hosting on three ip's. The default configuration on the webserver should look like this:

    ip1 => domain1 (main)
    domain2 (alias)
    -------------------------------
    ip2 => domain1 (main)
    domain2 (alias)
    -------------------------------
    ip3 => domain1 (main)
    domain2 (alias)

    I know, how i use plesk to give every domain it's own home-directory (cause this is the default), but the thing i wonder about is how i could use plesk to route all domains in the same home-directory e.g. the home-directory of ip1 / domain1 without loosing all informations, plesk is gathering (statistics and so on). The called url should even be the same and should not change during redirection.
    One possibility is to edit the webservers httpd-configuration direct through commandline but i think this would not be good for the functionality of plesk and would harm the security too.

    Does anyone know, how i'm able to make such a routing? Maybe with ".htaccess"-files? This would help me a lot!
    Thanks in advance.

    Greetings

    Udo
     
Loading...