subdomain redirects

Discussion in 'Installation/Configuration' started by tahunasky, Aug 2, 2012.

  1. tahunasky

    tahunasky Member


    i want to point the following subdomains to the appropriate apps: -> /usr/share/squirrelmail -> /usr/share/owncloud

    however when i do this it cant find them. i have tried:


    Host mail
    Redirect Type noflag
    Redirect Path /../../../../../usr/share/squirrelmail/
    Active check

    That worked for a while, and then it didnt.

    i have also tried:
    Redirect Path /usr/share/squirrelmail/
    Redirect Path /webmail/
    Redirect Path
    Redirect Path

    and nothing seems to work..

    if i do a nslookup from within the server or on the network, it brings back the correct ip address.
    i have also tried setting the DNS with an A record and CNAME for the mail / cloud subs:

    A mail


    CNAME mail

    has anyone got this working ?

    thanks for any help..
    Last edited: Aug 2, 2012
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Subdomain redirects are not made to load content from a directory outside the web dir.

    1) Delete the subdomain in ispconfig.
    2) Edit the file in /etc/apache2/conf.d/squirrelmail.conf and add there:

    DocumentRoot /usr/share/squirrelmail

    3) Do the same for owncloud.

Share This Page