vhost customization

Discussion in 'Installation/Configuration' started by Devin McManus, Sep 20, 2021.

  1. Devin McManus

    Devin McManus New Member

    [email protected]:~# lsb_release -a
    No LSB modules are available.
    Distributor ID: Debian
    Description:    Debian GNU/Linux 10 (buster)
    Release:        10
    Codename:       buster
    [email protected]:~# php -v
    PHP 7.3.19-1~deb10u1 (cli) (built: Jul  5 2020 06:46:45) ( NTS )
    Copyright (c) 1997-2018 The PHP Group
    Zend Engine v3.3.19, Copyright (c) 1998-2018 Zend Technologies
        with Zend OPcache v7.3.19-1~deb10u1, Copyright (c) 1999-2018, by Zend Technologies
        with Xdebug v2.9.6, Copyright (c) 2002-2020, by Derick Rethans
    Hi there,
    Is it possible to configure an ISPConfig site example1.com with docroot /var/www/example1.com/web to have a subdomain sub.example.com that has a docroot /var/www/www.differentsite.com/subdir/images and another site example2.com with docroot /var/www/example2.com/web to have a subdomain sub.example2.com that has docroot /var/www/www.differentsite.com/subdir/images?

  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    If you create both sub.example.com and sub.example2.com as a vhost aliasdomain for the www.differentsite.com site I think you could set their document root to /subdir/images and it would result in that path.
    ahrasis likes this.

Share This Page