Issues with MyDNS and ISPConfig 3.0.0.8

Discussion in 'General' started by koltz, Feb 4, 2009.

  1. koltz

    koltz Member

    I am having some issues. I followed the Ubnuntu 8.04 instructions on installing, but it shows DNS-Server is Offline in ISPConfig. I believe it is running though can't verify it.

    Also, when I setup virtual hosts, they are not directing to the correct virtual host directory, they are just going to the first virtual host on that IP (I have two seperate IP addresses). So the first vhost for example is example.com, second is example2.com, but it is going to example.com's website instead. This is doing the same on both IP addresses. I am not sure if this is a DNS issue or not. I have not setup any DNS entries either as I can't find directions to the proper procedure.

    Any help would be great!

    Thanks,

    Corey
     
  2. peterspoon

    peterspoon New Member

    Vhosts

    I have similar problem with virtual hosts. It appears when setting up a site (vhost) I choose IP address (one server with one IP) from drop down menu. Then all domains point to one site (every domain shows the same site content). When I choose a star * instead of IP, everything works fine (sites show normally).
    Almost fine, because then I get apache error at the server startup:
    Code:
    [error] Virtual Host *:80 --mixing * ports and non-* ports with a NameVirtualHost address is not supported...
    So when shall we choose an IP and when a star?

    the server is Debian Etch
     
    Last edited: Feb 5, 2009
  3. koltz

    koltz Member

    I get the same error for Apache2 also when loading. I haven't tried the *, just assigned it per IP address that I wanted each domain because couple of them will require SSL.
     
  4. koltz

    koltz Member

    Well tried changing mine to an * and same thing. I get the following for error messages with Apache2:

    Code:
    [Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:21:40 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
    
    
     
  5. falko

    falko Super Moderator ISPConfig Developer

    Try
    Code:
    /etc/init.d/mydns restart
    Waht's in /etc/apache2/sites-available/default and in one of the other vhosts?
     
  6. koltz

    koltz Member

    Code:
    NameVirtualHost *
    <VirtualHost *>
            ServerAdmin webmaster@localhost
    
            DocumentRoot /var/www/
            <Directory />
                    Options FollowSymLinks
                    AllowOverride None
            </Directory>
            <Directory /var/www/>
                    Options Indexes FollowSymLinks MultiViews
                    AllowOverride None
                    Order allow,deny
                    allow from all
            </Directory>
    
            ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
            <Directory "/usr/lib/cgi-bin">
                    AllowOverride None
                    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                    Order allow,deny
                    Allow from all
            </Directory>
    
            ErrorLog /var/log/apache2/error.log
    
            # Possible values include: debug, info, notice, warn, error, crit,
            # alert, emerg.
            LogLevel warn
    
            CustomLog /var/log/apache2/access.log combined
            ServerSignature On
    
        Alias /doc/ "/usr/share/doc/"
        <Directory "/usr/share/doc/">
            Options Indexes MultiViews FollowSymLinks
            AllowOverride None
            Order deny,allow
            Deny from all
            Allow from 127.0.0.0/255.0.0.0 ::1/128
        </Directory>
    
    </VirtualHost>
    
    I have tried restarting MyDNS before including stop and start and doesn't seem to change the status in the backend. How can I verify it is running from the command line, netstat?
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    You have to change the lines:

    NameVirtualHost *
    <VirtualHost *>


    to:

    NameVirtualHost *:80
    <VirtualHost *:80>

    and then restart apache.
     
  8. koltz

    koltz Member

    Thank you for the post, here is what I get when I restart Apache now, and still not working on the frontend.

    Code:
     * Restarting web server apache2                                                                                                                                                                               [Tue Feb 03 17:15:02 2009] [error] (EAI 2)Name or service not known: Could not resolve host name *80 -- ignoring!
    [Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:12 2009] [error] (EAI 2)Name or service not known: Could not resolve host name *80 -- ignoring!
    [Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    
     
  9. falko

    falko Super Moderator ISPConfig Developer

    Can you post one of the vhosts created by ISPConfig (you can find them in the /etc/apache2/sites-available directory as well)?
     
  10. koltz

    koltz Member

    Code:
    <VirtualHost 172.21.152.32:80>
        DocumentRoot /var/www/gamingdealz.com/web
    
        ServerName gamingdealz.com
        ServerAlias www.gamingdealz.com
        ServerAdmin [email protected]
    
        ErrorLog /var/clients/client1/web3/log/error.log
    
        ErrorDocument 400 /error/invalidSyntax.html
        ErrorDocument 401 /error/authorizationRequired.html
        ErrorDocument 403 /error/forbidden.html
        ErrorDocument 404 /error/fileNotFound.html
        ErrorDocument 405 /error/methodNotAllowed.html
        ErrorDocument 500 /error/internalServerError.html
        ErrorDocument 503 /error/overloaded.html
    
        <Directory /var/www/gamingdealz.com/web>
            Options FollowSymLinks
            AllowOverride Indexes AuthConfig Limit FileInfo
            Order allow,deny
            Allow from all
        </Directory>
    
        # cgi enabled
        ScriptAlias  /cgi-bin/ /var/clients/client1/web3/cgi-bin/
        AddHandler cgi-script .cgi
        AddHandler cgi-script .pl
        # mod_php enabled
        AddType application/x-httpd-php .php .php3 .php4 .php5
            php_admin_value sendmail_path "/usr/sbin/sendmail -t -i [email protected]"
        php_admin_value upload_tmp_dir /var/clients/client1/web3/tmp
        php_admin_value session.save_path /var/clients/client1/web3/tmp
        #php_admin_value open_basedir /var/clients/client1/web3:/usr/share/php5
    
    
    </VirtualHost>
    
     
  11. falko

    falko Super Moderator ISPConfig Developer

    Add
    NameVirtualHost *:80 to /etc/apache2/sites-available/default...
    Code:
    NameVirtualHost *
    [COLOR="Red"]NameVirtualHost *:80[/COLOR]
    <VirtualHost *>
            ServerAdmin webmaster@localhost
    
            DocumentRoot /var/www/
            <Directory />
                    Options FollowSymLinks
                    AllowOverride None
            </Directory>
    [...]
    ... and restart Apache.
     
  12. koltz

    koltz Member

    Code:
    
     * Restarting web server apache2                                                                                                                                                 [Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:42 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
    [Tue Feb 03 16:59:42 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
    [Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Tue Feb 03 16:59:52 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
    [Tue Feb 03 16:59:52 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
    
    
     
  13. falko

    falko Super Moderator ISPConfig Developer

    Can you post all your vhosts here?
     
  14. koltz

    koltz Member

    I will post three from each as I have many.

    8bitclassics.com
    Code:
    
    <VirtualHost 172.21.152.31:80>
        DocumentRoot /var/www/8bitclassics.com/web
    
        ServerName 8bitclassics.com
        ServerAlias www.8bitclassics.com
        ServerAdmin [email protected]
    
        ErrorLog /var/clients/client1/web2/log/error.log
    
        ErrorDocument 400 /error/invalidSyntax.html
        ErrorDocument 401 /error/authorizationRequired.html
        ErrorDocument 403 /error/forbidden.html
        ErrorDocument 404 /error/fileNotFound.html
        ErrorDocument 405 /error/methodNotAllowed.html
        ErrorDocument 500 /error/internalServerError.html
        ErrorDocument 503 /error/overloaded.html
    
        <Directory /var/www/8bitclassics.com/web>
            Options FollowSymLinks
            AllowOverride Indexes AuthConfig Limit FileInfo
            Order allow,deny
            Allow from all
        </Directory>
    
        # cgi enabled
        ScriptAlias  /cgi-bin/ /var/clients/client1/web2/cgi-bin/
        AddHandler cgi-script .cgi
        AddHandler cgi-script .pl
        # mod_php enabled
        AddType application/x-httpd-php .php .php3 .php4 .php5
            php_admin_value sendmail_path "/usr/sbin/sendmail -t -i [email protected]"
        php_admin_value upload_tmp_dir /var/clients/client1/web2/tmp
        php_admin_value session.save_path /var/clients/client1/web2/tmp
        #php_admin_value open_basedir /var/clients/client1/web2:/usr/share/php5
    
    
    </VirtualHost>
    
    
    koltz.com
    Code:
    
    <VirtualHost 172.21.152.31:80>
        DocumentRoot /var/www/koltz.com/web
    
        ServerName koltz.com
        ServerAlias www.koltz.com
        ServerAdmin [email protected]
    
        ErrorLog /var/clients/client1/web1/log/error.log
    
        ErrorDocument 400 /error/invalidSyntax.html
        ErrorDocument 401 /error/authorizationRequired.html
        ErrorDocument 403 /error/forbidden.html
        ErrorDocument 404 /error/fileNotFound.html
        ErrorDocument 405 /error/methodNotAllowed.html
        ErrorDocument 500 /error/internalServerError.html
        ErrorDocument 503 /error/overloaded.html
    
        <Directory /var/www/koltz.com/web>
            Options FollowSymLinks
            AllowOverride Indexes AuthConfig Limit FileInfo
            Order allow,deny
            Allow from all
        </Directory>
    
        # cgi enabled
        ScriptAlias  /cgi-bin/ /var/clients/client1/web1/cgi-bin/
        AddHandler cgi-script .cgi
        AddHandler cgi-script .pl
        # mod_php enabled
        AddType application/x-httpd-php .php .php3 .php4 .php5
            php_admin_value sendmail_path "/usr/sbin/sendmail -t -i [email protected]"
        php_admin_value upload_tmp_dir /var/clients/client1/web1/tmp
        php_admin_value session.save_path /var/clients/client1/web1/tmp
        #php_admin_value open_basedir /var/clients/client1/web1:/usr/share/php5
    
    
    </VirtualHost>
    
    
    hullprodj.com
    Code:
    
    <VirtualHost 172.21.152.31:80>
        DocumentRoot /var/www/hullprodj.com/web
    
        ServerName hullprodj.com
        ServerAlias www.hullprodj.com
        ServerAdmin [email protected]
    
        ErrorLog /var/clients/client2/web12/log/error.log
    
        ErrorDocument 400 /error/invalidSyntax.html
        ErrorDocument 401 /error/authorizationRequired.html
        ErrorDocument 403 /error/forbidden.html
        ErrorDocument 404 /error/fileNotFound.html
        ErrorDocument 405 /error/methodNotAllowed.html
        ErrorDocument 500 /error/internalServerError.html
        ErrorDocument 503 /error/overloaded.html
    
        <Directory /var/www/hullprodj.com/web>
            Options FollowSymLinks
            AllowOverride Indexes AuthConfig Limit FileInfo
            Order allow,deny
            Allow from all
        </Directory>
    
        # cgi enabled
        ScriptAlias  /cgi-bin/ /var/clients/client2/web12/cgi-bin/
        AddHandler cgi-script .cgi
        AddHandler cgi-script .pl
        # mod_php enabled
        AddType application/x-httpd-php .php .php3 .php4 .php5
            php_admin_value sendmail_path "/usr/sbin/sendmail -t -i [email protected]"
        php_admin_value upload_tmp_dir /var/clients/client2/web12/tmp
        php_admin_value session.save_path /var/clients/client2/web12/tmp
        #php_admin_value open_basedir /var/clients/client2/web12:/usr/share/php5
    
    
    </VirtualHost>
    
    
    gamingdealz.com
    Code:
    
    <VirtualHost 172.21.152.32:80>
        DocumentRoot /var/www/gamingdealz.com/web
    
        ServerName gamingdealz.com
        ServerAlias www.gamingdealz.com
        ServerAdmin [email protected]
    
        ErrorLog /var/clients/client1/web3/log/error.log
    
        ErrorDocument 400 /error/invalidSyntax.html
        ErrorDocument 401 /error/authorizationRequired.html
        ErrorDocument 403 /error/forbidden.html
        ErrorDocument 404 /error/fileNotFound.html
        ErrorDocument 405 /error/methodNotAllowed.html
        ErrorDocument 500 /error/internalServerError.html
        ErrorDocument 503 /error/overloaded.html
    
        <Directory /var/www/gamingdealz.com/web>
            Options FollowSymLinks
            AllowOverride Indexes AuthConfig Limit FileInfo
            Order allow,deny
            Allow from all
        </Directory>
    
        # cgi enabled
        ScriptAlias  /cgi-bin/ /var/clients/client1/web3/cgi-bin/
        AddHandler cgi-script .cgi
        AddHandler cgi-script .pl
        # mod_php enabled
        AddType application/x-httpd-php .php .php3 .php4 .php5
            php_admin_value sendmail_path "/usr/sbin/sendmail -t -i [email protected]"
        php_admin_value upload_tmp_dir /var/clients/client1/web3/tmp
        php_admin_value session.save_path /var/clients/client1/web3/tmp
        #php_admin_value open_basedir /var/clients/client1/web3:/usr/share/php5
    
    
    </VirtualHost>
    
    
    thegamestore.us
    Code:
    
    <VirtualHost 172.21.152.32:80>
        DocumentRoot /var/www/thegamestore.us/web
    
        ServerName thegamestore.us
        ServerAlias www.thegamestore.us
        ServerAdmin [email protected]
    
        ErrorLog /var/clients/client1/web13/log/error.log
    
        ErrorDocument 400 /error/invalidSyntax.html
        ErrorDocument 401 /error/authorizationRequired.html
        ErrorDocument 403 /error/forbidden.html
        ErrorDocument 404 /error/fileNotFound.html
        ErrorDocument 405 /error/methodNotAllowed.html
        ErrorDocument 500 /error/internalServerError.html
        ErrorDocument 503 /error/overloaded.html
    
        <Directory /var/www/thegamestore.us/web>
            Options FollowSymLinks
            AllowOverride Indexes AuthConfig Limit FileInfo
            Order allow,deny
            Allow from all
        </Directory>
    
        # cgi enabled
        ScriptAlias  /cgi-bin/ /var/clients/client1/web13/cgi-bin/
        AddHandler cgi-script .cgi
        AddHandler cgi-script .pl
        # mod_php enabled
        AddType application/x-httpd-php .php .php3 .php4 .php5
            php_admin_value sendmail_path "/usr/sbin/sendmail -t -i [email protected]"
        php_admin_value upload_tmp_dir /var/clients/client1/web13/tmp
        php_admin_value session.save_path /var/clients/client1/web13/tmp
        #php_admin_value open_basedir /var/clients/client1/web13:/usr/share/php5
    
    
    </VirtualHost>
    
    
    geekdealz.com
    Code:
    
    <VirtualHost 172.21.152.32:80>
        DocumentRoot /var/www/geekdealz.com/web
    
        ServerName geekdealz.com
        ServerAlias www.geekdealz.com
        ServerAdmin [email protected]
    
        ErrorLog /var/clients/client1/web11/log/error.log
    
        ErrorDocument 400 /error/invalidSyntax.html
        ErrorDocument 401 /error/authorizationRequired.html
        ErrorDocument 403 /error/forbidden.html
        ErrorDocument 404 /error/fileNotFound.html
        ErrorDocument 405 /error/methodNotAllowed.html
        ErrorDocument 500 /error/internalServerError.html
        ErrorDocument 503 /error/overloaded.html
    
        <Directory /var/www/geekdealz.com/web>
            Options FollowSymLinks
            AllowOverride Indexes AuthConfig Limit FileInfo
            Order allow,deny
            Allow from all
        </Directory>
    
        # cgi enabled
        ScriptAlias  /cgi-bin/ /var/clients/client1/web11/cgi-bin/
        AddHandler cgi-script .cgi
        AddHandler cgi-script .pl
        # mod_php enabled
        AddType application/x-httpd-php .php .php3 .php4 .php5
            php_admin_value sendmail_path "/usr/sbin/sendmail -t -i [email protected]"
        php_admin_value upload_tmp_dir /var/clients/client1/web11/tmp
        php_admin_value session.save_path /var/clients/client1/web11/tmp
        #php_admin_value open_basedir /var/clients/client1/web11:/usr/share/php5
    
    
    </VirtualHost>
    
    
     
  15. falko

    falko Super Moderator ISPConfig Developer

    Can you add a
    Code:
    NameVirtualHost 172.21.152.31:80
    directive to /etc/apache2/sites-available/default?
     
  16. koltz

    koltz Member

    That worked, I added the same for the .32 address.
     
  17. falko

    falko Super Moderator ISPConfig Developer

    I've added this to the bugtracker for further investigation.
     
  18. koltz

    koltz Member

    I have upgraded to the RC2 version, and now receive the following error when restarting Apache2.

    Code:
    [Wed Feb 18 15:34:46 2009] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefine                  d results
    [Wed Feb 18 15:34:46 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
    [Wed Feb 18 15:34:56 2009] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefine                  d results
    [Wed Feb 18 15:34:56 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
    
    I saw they showed a fix in there for my issue, do I need to change something back now?
     
  19. falko

    falko Super Moderator ISPConfig Developer

    Can you post /etc/apache2/sites-available/default and one of your vhosts again?
     
  20. koltz

    koltz Member

    Having issues with SSL still

    Here is the what I have for defaults

    Code:
    NameVirtualHost *
    NameVirtualHost *:80
    <VirtualHost *>
            ServerAdmin webmaster@localhost
    
            DocumentRoot /var/www/
            <Directory />
                    Options FollowSymLinks
                    AllowOverride None
            </Directory>
            <Directory /var/www/>
                    Options Indexes FollowSymLinks MultiViews
                    AllowOverride None
                    Order allow,deny
                    allow from all
            </Directory>
    
            ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
            <Directory "/usr/lib/cgi-bin">
                    AllowOverride None
                    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                    Order allow,deny
                    Allow from all
            </Directory>
    
            ErrorLog /var/log/apache2/error.log
    
            # Possible values include: debug, info, notice, warn, error, crit,
            # alert, emerg.
            LogLevel warn
    
            CustomLog /var/log/apache2/access.log combined
            ServerSignature On
    
        Alias /doc/ "/usr/share/doc/"
        <Directory "/usr/share/doc/">
            Options Indexes MultiViews FollowSymLinks
            AllowOverride None
            Order deny,allow
            Deny from all
            Allow from 127.0.0.0/255.0.0.0 ::1/128
        </Directory>
    
    </VirtualHost>
    
    

    error when restarting apache2

    Code:
    [Sat Feb 21 18:38:11 2009] [warn] NameVirtualHost 172.21.152.32:443 has no VirtualHosts
    [Sat Feb 21 18:38:11 2009] [warn] NameVirtualHost 172.21.152.31:443 has no VirtualHosts
    [Sat Feb 21 18:38:11 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
    [Sat Feb 21 18:38:11 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
    [Sat Feb 21 18:38:21 2009] [warn] NameVirtualHost 172.21.152.32:443 has no VirtualHosts
    [Sat Feb 21 18:38:21 2009] [warn] NameVirtualHost 172.21.152.31:443 has no VirtualHosts
    [Sat Feb 21 18:38:21 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
    [Sat Feb 21 18:38:21 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
    
    Error I am receiving in Firefox

    Code:
    Secure Connection Failed
    
          
    
          
          
          
    
          
            
            
    
              
    
    An error occurred during a connection to www.8bitclassics.com.
    
    SSL received a record that exceeded the maximum permissible length.
    
    (Error code: ssl_error_rx_record_too_long)
    
            
    
    
            
            
    
    The page you are trying to view can not be shown because the authenticity of the received data could not be verified.
    
        * Please contact the web site owners to inform them of this problem.
    
    What code goes were in the ISPConfig SSL area (.crt, .csr, .key) and I use GoDaddy which also has a Intermediary SSL cert so an additional file.
     

Share This Page