Change website folders

Discussion in 'General' started by fllopis, Dec 18, 2012.

  1. fllopis

    fllopis New Member

    Hi I have the following problem.

    In the web configuration of ISPConfig.

    The path to the default web site is /var/www/clients/client[client_id]/web[website_id]

    And the symbolic link of the website is: /var/www/[website_domain]/:/var/www/clients/client[client_id]/[website_domain]/

    From what I've seen ISPConfig3 automatically created in sites-avaible files with each website ending in.vhost

    The path of each .vhost is: /var/www/website_domain/web

    I need the configuration file which configures ISPConfig3 in each VirtualHost that are created for each website.

    I need all of my websites will store in the following path and create the folders ISPConfig website.

    I need that web content rather than stored in clients/client1/web1 stored in the following path:

    Web site path: /var/www/vhosts/[website_domain]/httpdocs

    I need that when i create a new site this will be in /var/www/vhosts/website_domain/httpdocs

    Any can help me?

    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats not supported as folder names may not contain variables that can be changed like the domain name or your whole server will break when a user changes a domain.
     
  3. fllopis

    fllopis New Member

    We have a clear ISPConfig, and we haven't clients yet.

    Our problem is that we want to migrate from plesk ispconfig.

    We try to maintain the same structure as in plesk.

    So we thought we could do it by symlinks.

    Then we need to know, where ISPConfig grabs the files needed to create a new site. That is, the web folder, ssl, backup, etc..

    We need to know where the default files used to create the new ISPConfig website.

    Being all for now, I await a reply.
     
    Last edited: Dec 18, 2012
  4. webguyz

    webguyz Member HowtoForge Supporter

    It would seem to me it would be better to try and keep the default structure of ispConfig, otherwise you will never be able to do an ispConfig upgrade without a hassle and other apps might freak out as well.

    Would be a nightmare when something breaks because no one can help you since your non-standard. That would keep me up an night :)

    Good Luck!
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    It is all created by the apache plugin. Take a lookat /usr/local/ispconfig/server/plugins-enabled/

    Like webguyz mentioned, it is very likely that your setup will not work cleanly later and it is unlikely that you will be able to install any ispconfig updates on your server as your structure is incompatible with ispconfig.
     

Share This Page