Website path

Discussion in 'Installation/Configuration' started by almere, Nov 1, 2012.

  1. almere

    almere HowtoForge Supporter


    Is it possible to change website path in server config (System->Server Config->Web). I`m running Nginx at Debian 6.

    I have now:

    I would like:
    Or something like that.


    It`s solved, what is the right syntax for it?

    Thank you

  2. till

    till Super Moderator

    If you would change the path to /var/www/clients/client[client_username]/web[website_domain] then the site would be destroyed when a client changes its client name or when a client changes the domain name of a site, only placeholders that will never change can be used in this path. ISPConfig uses generioc ID's for this to ensure that the path never changes when a domain name is cahnged and adds symlinks on the shell for easier navigation by domain name instead.

    The available placeholders are:

  3. almere

    almere HowtoForge Supporter

    Is this placeholders the same like [client_id] ?
  4. till

    till Super Moderator

    These placeholders split the clientID into chunks which might be nescessary if you have several thousand clients in your ispconfig cluster.
  5. almere

    almere HowtoForge Supporter

    Thank you!

    But in any way. Where can i change it?)
  6. till

    till Super Moderator

    All available placeholders are listed in #2 of this thread and you can set the path which may include these placeholders under System > Server config in ispconfig.
  7. sharkey

    sharkey New Member

    Can I (and if so how) change the default path to /var/www? At least for the main account. (I don't plan on adding any other domains at the moment)

    Server Config says "Do not enable this option if your network interface is not eth0. " and mine is venet0
  8. till

    till Super Moderator

    You can try it but it might make problems. But you ma not add more then one website then on the server as the setup will fail as soon as you add a second one.

    Your server is a vserver, so you can not configure the network from within the virtual machine. The network is configured on the host server.

Share This Page