install WordPress on ISPConfig 3

Discussion in 'Installation/Configuration' started by dgmufasa, Jan 19, 2012.

  1. dgmufasa

    dgmufasa New Member

    Hello all,

    Is there any documentation out there on how to install Wordpress in an ISPConfig 3 environment?

    TIA
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Create a website in ispconfig with php-fcgi and suexec enabled.
    2) Create a database in ispconfig.
    3) Go to the website directory (the best way is that you login with a shell user of that website, so you dont have to change any file owners) and follow the wordpress installation instructions:

    http://codex.wordpress.org/Installing_WordPress#Famous_5-Minute_Install
     
  3. (O)fer_cz

    (O)fer_cz New Member

    how can i login as a shell user of the website, so I dont have to change any file owners? I could use this when Im deploying rails aplication
     
  4. norbie

    norbie New Member

    Dunno if you already resolved your question yourself.
    In ISPConfig you can either create a shell user account for that Web / User or the one I prefer is using a piece of software called "putty" Putty lets you connect via SSH as any existing user on you server. However, this way, you'll have to watch again for file permissions.
    Good luck!
     
  5. mlmateos

    mlmateos New Member

    The 'root of your domain' in wordpress installation instructions is
    /var/www/clients/client5/web9/
    or
    /var/www/clients/client5/web9/web/
    ?
    Thnks
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    /var/www/clients/client5/web9/web/
     
    mlmateos likes this.
  7. mlmateos

    mlmateos New Member

    How to install wordpress-mu on ispconfig 3 on debian jessie?
     
  8. brainsys

    brainsys Member

    I have mu subdomain/non-sub-domain variants working under ISPConfig on Jessie. There was nothing special in the installation and the aliasdomain function worked sweetly with matching domains with sub-domains. Its the usual Wordpress trick of:

    1) Setting up a database user
    2) setting up a database and attaching the user
    3) Wget the latest release and unzipping to your ../web directory
    4) Installing and or editing ws-config.php settings to match your database/user setup.

    ispconfig & wordpress are made for each other ... where are you stuck?
     
    Last edited: Jul 3, 2015
  9. LAKSHA

    LAKSHA Member

    i have installed ispconfig on srv1.maindomain.com and i have created a client and a new website as maindomain.com inside ispconfig pointing to /var/www/clients/client[client_id]/web[website_id]
    now /var/www/[website_domain]/:/var/www/clients/client[client_id]/[website_domain]/ is not getting symlinked
    inshort
    if i type maindomain.com it shows a file which is different than which resides at web folder when i see that through FTP
    Please help
    i m a newbie :( to ispconfig 3
    [​IMG]
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    ls -la /var/www
     
    LAKSHA likes this.
  11. LAKSHA

    LAKSHA Member

    total 32
    drwxr-xr-x 7 root root 4096 Dec 17 04:34 .
    drwxr-xr-x 16 root root 4096 Dec 16 19:30 ..
    drwxr-xr-x 2 ispapps ispapps 4096 Dec 16 15:39 apps
    drwxr-xr-x 3 root root 4096 Dec 17 04:34 clients
    drwxr-xr-x 2 root root 4096 Dec 17 04:34 conf
    -rw-r--r-- 1 root root 177 Aug 30 12:51 index.html
    lrwxrwxrwx 1 root root 34 Dec 16 15:41 ispconfig -> /usr/local/ispconfig/interface/web
    drwxr-xr-x 5 root root 4096 Dec 17 04:34 php-fcgi-scripts
    lrwxrwxrwx 1 root root 30 Dec 17 04:34 maindomain.com -> /var/www/clients/client1/web1/
    drwxr-xr-x 2 root root 4096 Dec 16 15:21 webalizer
    lrwxrwxrwx 1 root root 24 Dec 16 15:34 webmail -> /usr/share/squirrelmail/
    Thank you @till for your prompt revert
     
  12. LAKSHA

    LAKSHA Member

    @till Sir,How do i contact you directly?
     
  13. LAKSHA

    LAKSHA Member

    The domain shows the following page
    HTML:
    <html><body><h1>It works!</h1>
    <p>This is the default web page for this server.</p>
    <p>The web server software is running but no content has been added, yet.</p>
    </body></html>
    and the web folder has this page
    HTML:
    <body>
        <div id="page">
            <div id="header" class="header">
                <h1>Welcome to <!--ADRESSE//-->your website!<!--ADRESSE//--></h1>
            </div>
            <div id="content">
                <h2>This is the default index page of your website.</h2>
                <p>This file may be deleted or overwritten without any difficulty. This is produced by the file <b>index.html</b> in the <b>web</b> directory.</p>
                <p>For questions or problems please contact <!--SUPPORT//-->support<!--SUPPORT//-->.</p>
            </div>
            <div id="footer">
                <p>Powered by <a href="http://www.ispconfig.org">ISPConfig</a></p>
            </div>
        </div>
    </body>
    how do we redirect maindomain.com to that particular folder.if you let me know if you need me to share exact details and location.
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no such thing as likea main domain, all domains are equal. Just ensure that you used a subdomain as the hostname for the server like server1.yourdomain.tld and not just yourdomain.tld (see perfect server setup instructions).
     
    LAKSHA likes this.
  15. LAKSHA

    LAKSHA Member

    :) oh yes all domains are equal ! I was just concern of this platform and if i should share my details here :) anyway i highly appreciate your revert @till .Thank you i shall check where i went wrong and i shall also update you on the same.
    total 32
    drwxr-xr-x 7 root root 4096 Dec 17 08:25 .
    drwxr-xr-x 16 root root 4096 Dec 16 19:30 ..
    drwxr-xr-x 2 ispapps ispapps 4096 Dec 16 15:39 apps
    drwxr-xr-x 4 root root 4096 Dec 17 08:25 clients
    drwxr-xr-x 2 root root 4096 Dec 17 04:34 conf
    -rw-r--r-- 1 root root 177 Aug 30 12:51 index.html
    lrwxrwxrwx 1 root root 34 Dec 16 15:41 ispconfig -> /usr/local/ispconfig/interface/web
    drwxr-xr-x 5 root root 4096 Dec 17 04:34 php-fcgi-scripts
    lrwxrwxrwx 1 root root 30 Dec 17 08:25 example.com -> /var/www/clients/client0/web1/
    drwxr-xr-x 2 root root 4096 Dec 16 15:21 webalizer
    lrwxrwxrwx 1 root root 24 Dec 16 15:34 webmail -> /usr/share/squirrelmail/

    Here is the file again dear @till
     
    Last edited: Dec 17, 2015
  16. LAKSHA

    LAKSHA Member

    both commands
    hostname
    hostname -f
    giving
    server1.example.com
     
    Last edited: Dec 17, 2015
  17. till

    till Super Moderator Staff Member ISPConfig Developer

    The setup is absolutely fine, please reread my post above, I told you to check and change the hostname of your server.

    The commands:

    hostname

    and

    hostname -f

    have to return a hostname like server1.example.com, they may not return a domain name that you want to use for email or as website. So ify they return a domain that you want to use, then you configured a wrong hostbame before you installed ISPConfig and you have to correct that to get your server working as apache will redirect the website traffic to a wong site otherwise.
     
  18. till

    till Super Moderator Staff Member ISPConfig Developer

    That's ok.
    Which IP address did you select for the website?
     
  19. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, so you selected "179.43.128.239" in the Ip address field of this website in the ispconfig website settings?
     
  20. LAKSHA

    LAKSHA Member

Share This Page