How to have two domains look at one directory

Discussion in 'Installation/Configuration' started by cekoludia, Apr 19, 2023.

  1. cekoludia

    cekoludia New Member

    Hi, the website project I'm doing requires two domains to be searched in the same directory:
    1. test.com /var/www/clients/client1/web5/web/public
    2. test.test.com /var/www/clients/client1/web8/web
    but it must point to /var/www/clients/client1/web5/web/public and have read and write permissions.
    Please help me with this case study!

    linux Centos7 ISPconfig 3.2.8p1
     
    Last edited: Apr 19, 2023
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please write in english, thanks!
     
  3. cekoludia

    cekoludia New Member

    I apologize
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Enable vhost sub- and alias domains under System > interface > main config.
    Delete the website test.test.com
    Create a new vhost subdomain test.test.com for website test.com
     
    cekoludia likes this.
  5. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Indeed this the way. I managed mine i.e. for single install multi domain softwares, so it is safer to get their own LE SSL certs as well, this way, if any one site fail to renew its LE SSL certs, it won't be affecting other sites.
     

Share This Page