Directory structure website

For the custom made CMS we're using I have to create some extra directories for a website. Is it possible to automatically create some extra directories in the site directory when creating a new site from ispconfig ?

The easiest way to do is is to create a new ispconfig server plugin which subscribes to the website insert event and then creates the directories. For an example I receommend to take a look at the ispconfig apache plugin. Your plugin has to use a name that comes after the name of the apache plugin in alphabet, so that your plugin is executed after the apache plugin.