Several domains (sites) on the same directory.

Discussion in 'General' started by chessman2212, May 8, 2013.

  1. chessman2212

    chessman2212 New Member

    Hello,

    I need to get 2 websites using the same directory and DB but having their proper URL

    The objective is I get a .com website for the international version and a .fr one with the French content

    How can I configure the sites to use the same directory ?

    I tryed to use the alias feature but can't get it configured well

    NOTA : the sites are both on the same "customer" in the panel.

    thanks for your help.
     
  2. darinpeterson

    darinpeterson Member

    Why doesn't aliasing work? You should be able to detect which host is being used and set the languages by that...
     
  3. chessman2212

    chessman2212 New Member

    Hello,

    when you create a site with ISPconfig it creates automatically a specific directory for it. And the sites are kind of "chrooted" so when I ask domain2 to redirect to the first directory ISP ask me for a directory like /test/ and not ../toto
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Yust add the second domain as aliasdomain of the first one and do not activate any redirects for the alias domain, it will then point zo the same directory then the main site automatically.
     

Share This Page