Install WordPress on var/www/html - Needs ISPConfig config or not?

Discussion in 'Installation/Configuration' started by MarsWarrior, Apr 8, 2015.

  1. MarsWarrior

    MarsWarrior New Member

    I do have an Ubuntu 14.10 server running ISPConfig.
    The server is accessable through The server's name is

    ISPConfig is used to host several WordPress sites on this server. This is working well so far.

    Now I want to install two extra packages on this server (ie on
    - Piwik
    - Wordpress

    Now I found this to manuall install piwik on /var/www/html/piwik. This requires no settings (like adding websites etc.) in ISPConfig. Access should be through

    Is the same method the best one to install WordPress (example: on this server, ie in /var/www/html/wordpress. Access should be through, or (wordpress configuration option!)

    So in the end I have:
    - my WordPress website (with the WP-PIWIK plugin)
    - or my Piwik analytics website to which the WP-PIWIK plugin is pointing to.
    - the ISPConfig control panel (on port 8080)
    - Several WordPress websites hosted through the ISPConfig panel (all with the WP-PIWIK plugin for analytics)

    Note that I'm using an ISP for mail forwarding and DNS domain/subdomain management: the server is 'just' hosting the websites.

    So the question is: is this the right method (install WordPress/Piwik in /var/www/html), or should it be done different?
    I previously tried to install WordPress via ISPConfig on, but that didn't work for some reason!
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats the wrong way. Both guides are for servers without a controlpanel. For your ispconfig server, there are far better ways.

    1) Login to ISPConfig and create a nwe website Leave all settings at the defaults.
    2) Install piwik and wordprees into subfolders of this website. E.g. installing wordpress is really easy and takes a few minutes only, all you have t do is:

    - create a ftp user for that website
    - create a new mysql user and database in ispconfig.
    - upload wordpress to the web folder with that ftp user.
    - open the url in your browser and follow the installation instructions on the screeen.

    For piwik it is similar:

    create a new website in ispconfig, add a mysql user and database, create a ftp user, upload piwik into the web folder of that website ....
  3. MarsWarrior

    MarsWarrior New Member

    Thanx for that answer. I will try this way. As I said, I tried this previously with an WordPress APS package, and that did NOT work.
    Your method is something in between fully manually and the fully automatic APS way. Why not using an APS package?
    The APS package way is not possible I understand? And how/where do I translate to Manually or somewhere in ISPConfig?
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    I always install software manually.

    APS is possible as well, but you often dont get the latest software versions when they are not packaged yet and I dont use the aps installer at all for my sites as I prefer to have control over the way a software is installed.
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    For the second way you would create a folder piwik in the website instead and install it there.
  6. MarsWarrior

    MarsWarrior New Member

    Ok. Thanks for the explanation :)

    I've never done a manual installation, as I'm used to Bitnami and DirectAdmin installers which do all the hard work for you!

    The 'problem' you mention with up-to-date APS packages is not relevant for both WordPress and Piwik as they have automatic updates and/or dashboard driven updates. No need to use FTP to update to the latest versions.

    Regarding the 'second way': I thought there was the possibility in ISPConfig to redirect to using subdomains (as vhosts) or not? I tried that before but failed, despite having read the ISPConfig manual...
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats a normal redirect of a subdomain, not a vhost subdomain.
  8. MarsWarrior

    MarsWarrior New Member

    Thanx sofar!

    Piwik is up and running on For some reason does not work yet using a subdomain redirect.

    It took some time before I understood that I didn't have to enter a clientid in order to get access to the default website web folder!

    Next is to install wordpress and the piwik plugin to get live data into piwik :D

    Update @2015.04.09:
    Wordpress installed fine using the APS installer and is accessible at
    I still have to add some rewrite rules in several .htaccess files to:
    - redirect to the wordpress folder
    - redirect my ip address to

    (or is this possible in ISPConfig too ?????)

    I hope the last one also fixes my subdomain redirect problem with to the /piwik/ folder. For some reason I'm getting a redirect to http://<ip>/piwik which is not recognized as a valid URL...
    No idea if this is a bug in ISPConfig, or that I did something wrong in ISPConfig :mad:
    Last edited: Apr 9, 2015

Share This Page