Sub domains

Discussion in 'Installation/Configuration' started by wabz, Aug 20, 2009.

  1. wabz

    wabz New Member

    Guys Hi

    I have been able to do some subdomains for my site. I am running joomla and have created subfolders inside the web folder for the site to accomodate subdomains for example my site is and i have as a sub domain. So i have created a sub folder in the web folder with the name xxxxxx1 and installed uploaded joomla files to it. so how do i point to that particular folder. If i try using redirect i get yet its supposed to remain as

    Any help
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The recommended wway is to create a new website for this subdomain and not use subfolder.

    If you want to use the subfiolder, you can not use .htaccess files for this joomla installation.
  3. wabz

    wabz New Member

    Error message with webmail

    Error opening ../data/default_pref
    Could not create initial preference file!
    /srv/ should be writable by user wwwrun
    Please contact your system administrator and report this error.

    File permission is set to 777

    Ok i have done what u had suggested earlier as in configuring them as separate sites. my problem now is that when i type it takes me to What am i doing wrong. I have even entered the apache directives for
    Last edited: Aug 20, 2009
  4. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    ls -la /srv/
  5. wabz

    wabz New Member

    Output of command

    Here is the output of the command. I just ran it for a different site with the same problem

    mail:/srv/www/ # ls -la /srv/www/ total 20
    drwxrwxrwx 2 web12 client5 4096 Aug 20 15:38 .
    drwxr-xr-x 18 web12 client5 4096 Aug 25 14:18 ..
    -rwxr-xr-- 1 web12 client5 14 Aug 20 15:38 .htaccess
    -rwxr-xr-- 1 web12 client5 41 Aug 20 15:38 default_pref
    -rwxr-xr-- 1 web12 client5 485 Aug 20 15:38 index.php

    So what next?
  6. falko

    falko Super Moderator ISPConfig Developer

    Do this:
    chown wwwrun default_pref

Share This Page