Fresh ISPConfig3 install - https://1.2.3.4:8080 -> webpage not available

Discussion in 'Installation/Configuration' started by m.xander, Dec 1, 2013.

  1. m.xander

    m.xander New Member

    Hi there,

    This is a fresh new installation of ISPConfig3, it is on a Linode VPS, I've got through the perfect server install for Ubuntu 12.04LTS fairly smoothly...

    The first thing is that when I go to https://1.2.3.4:8080/ the website is not available. This is the result of restarting apache:

    Code:
    [email protected]:/var/log/apache2# service apache2 restart
     * Restarting web server apache2                                                [Sun Dec 01 05:37:13 2013] [warn] NameVirtualHost *:443 has no VirtualHosts
    [Sun Dec 01 05:37:13 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
     ... waiting [Sun Dec 01 05:37:14 2013] [warn] NameVirtualHost *:443 has no VirtualHosts
    [Sun Dec 01 05:37:14 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
                                                                             [ OK ]
    Also prior to this fresh install i was hosting a couple of the domains I want to get started with so they are already propigated.

    Could I get some direction on where to start troubleshooting this installation. There was only one hiccup in the installation involving /etc/fstab... but I was able to resolve via some comments at the bottom of that page on the Linode setups.

    Thanks in advance... Mike.

    Edit: The domains and subdomains are working but I'm getting "forbidden - You don't have permission to access / on this server".

    I had just set up VirtualHosts for 3 domains in /home/username//public/address.com directories with symlinks.

    The way I'd like to set this up is to have the following websites:
    - mydomain.info (my website here)
    - host.mydomain.info (ISPConfig control panel here)
    - host.mydomain.info/webmail/ (squirrelmail here)

    The domain names are currently setup on Linode's DNS setup.

    Ooh... by the way I just looked and host.mydomain.info/webmail/src/login.php successfully brings up the SquirrelMail login page...
     
    Last edited: Dec 1, 2013
  2. m.xander

    m.xander New Member

    This is the first maini issue, on service apache2 restart the following outputs:

    Code:
    [email protected]:/home/mike# service apache2 restart
     * Restarting web server apache2                                                [Mon Dec 02 04:58:10 2013] [warn] NameVirtualHost *:443 has no VirtualHosts
    [Mon Dec 02 04:58:10 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
    [Mon Dec 02 04:58:10 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
     ... waiting [Mon Dec 02 04:58:11 2013] [warn] NameVirtualHost *:443 has no VirtualHosts
    [Mon Dec 02 04:58:11 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
    [Mon Dec 02 04:58:11 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
                                                                             [ OK ]
    My VirtualHost domains all say in the browser "Forbidden you don't have permission to access / on this server.

    I definitely have a few virtual hosts as I can visit the different domain addresses?

    I've been through numerous "solutions" for this problem with no success. Anyone know how to fix this?

    I am really wanting advise before I mess around too much. I read in another post how someone stuffed ISPConfig permissions by messing around with this stuff.

    Mike.
     
    Last edited: Dec 2, 2013
  3. m.xander

    m.xander New Member

    The output of tail -f /var/log/apache2/error.log:

    Code:
    [email protected]:/var/log/apache2# tail -f /var/log/apache2/error.log
    [Mon Dec 02 23:40:01 2013] [error] [client 127.0.0.1] client denied by server configuration: /etc/apache2/htdocs
    [Mon Dec 02 23:45:02 2013] [error] [client 127.0.0.1] client denied by server configuration: /etc/apache2/htdocs
    [Mon Dec 02 23:50:01 2013] [error] [client 127.0.0.1] client denied by server configuration: /etc/apache2/htdocs
    [Mon Dec 02 23:55:01 2013] [error] [client 127.0.0.1] client denied by server configuration: /etc/apache2/htdocs
    [Tue Dec 03 00:00:01 2013] [error] [client 127.0.0.1] client denied by server configuration: /etc/apache2/htdocs
    [Tue Dec 03 00:05:01 2013] [error] [client 127.0.0.1] client denied by server configuration: /etc/apache2/htdocs
    [Tue Dec 03 00:10:01 2013] [error] [client 127.0.0.1] client denied by server configuration: /etc/apache2/htdocs
    [Tue Dec 03 00:10:43 2013] [error] [client 203.2.35.215] client denied by server configuration: /etc/apache2/htdocs
    [Tue Dec 03 00:15:02 2013] [error] [client 127.0.0.1] client denied by server configuration: /etc/apache2/htdocs
    [Tue Dec 03 00:20:02 2013] [error] [client 127.0.0.1] client denied by server configuration: /etc/apache2/htdocs
     
  4. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    May it be that suexec is blocking access?
    Afaik, the default suexec only accepts /var/www as base for vhosts but not /home/xxx or something like that.
    Look at /var/log/apache2/suexec.log
     
  5. zenny

    zenny Member

    Did you try with?

    #a2ensite <sitename>
     
  6. m.xander

    m.xander New Member

    I'm doing a reinstall...

    Hi guys... thanks for your responses.

    Before I got your posts I decided to rebuild and try again. I'm in the middle of going the perfect server install again. I'll get back to you with the result shortly.

    Mike.

    edit: ISPConfig successfully installed!

    Prior to the previous attempt I had manually rigged up 3 virtual hosts that were working. I just did a rebuild of the VPS back to the default server installation without Apache etc... installed or configured. Then did the perfect server install again and there were no problems... yay!

    I now can see the "It works!" Apache page at mydomain.info & host.mydomain.info, and ISPConfig installed successfully at https://host.mydomain.info:8080/.

    So the next thing to do is put mydomain.info and host.mydomain.info into ISPConfig. It is also time to get a new manual...

    Topic solved... thanks.
     
    Last edited: Dec 4, 2013

Share This Page