Additional TLD on Dub Directory of Website

Discussion in 'General' started by Nepomuk, Dec 15, 2021.

  1. Nepomuk

    Nepomuk New Member

    Greetings,
    Im trying to route additional Domains Top Level on subdirectories on a Clients existing website.
    So the clients web dir is at /var/www/clients/client1/web3/web/
    And then there is /var/www/clients/client1/web3/web/domains/domain1....Domain2...Domain3... ect.
    It should be possible he can ftp to these Domains with his existing User Login.
    I tried adding a a Docroot directive in the options section of a new website with one of the domains but that didnt work.
    Alias Domains seem to only route on the main docroot of a website and i also tried Subdomains which dont support tld's if i understand it right.
    Appreciate any help!

    Thanks
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Use vhost alias domains, which must be enabled in Main Config first.
     
  3. Nepomuk

    Nepomuk New Member

    I think its actiavted.
    I used "/var/www/domainname/web/domains/domain1/" as the redirect statement and "No Flag" at redirect field.
    But i only get a forbiddon
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    How did you verify vhost alias domains are activated?
     
  5. Nepomuk

    Nepomuk New Member

    I followed this section:
    docs.ispconfig.org/creating-web-sites/alias-web-domains/
     
  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    @Jesse Norell wrote:
    So go to ISPConfig Panel System | Interface | Main Config | Sites and verify what you have in "Create subdomains as web site" and "Create aliasdomains as web site".
    You should purchase the Manual if you are going to use ISPConfig.
     
    Nepomuk likes this.
  7. Nepomuk

    Nepomuk New Member

    You are correct, this feature was not activated. After activating it i re created the domains and now they work.
    Thanks very much for your help!
     

Share This Page