completely stumped

Discussion in 'Installation/Configuration' started by 69c10454, Jun 5, 2011.

  1. 69c10454

    69c10454 New Member

    Hi there I am very new to ispconfig 3 and have a hunch that im missing something simple. every time I try and load a website it comes back to the apache root page that say's nothing more than "It works". I have double checked my dns settings, everything is pointing to the right place... and the vhost file it made is a little confusing to me.... is there anything anyone here can see that is wrong with this config:

    Code:
    <Directory /var/www/cdsnetworks.tk>
        AllowOverride None
        Order Deny,Allow
        Deny from all
    </Directory>
    
    <VirtualHost 192.168.2.153:80>
          DocumentRoot /var/www/cdsnetworks.tk/web
      
        ServerName cdsnetworks.tk
        ServerAlias www.cdsnetworks.tk
        ServerAdmin [email protected]
    
        ErrorLog /var/log/ispconfig/httpd/cdsnetworks.tk/error.log
    
    
        ErrorDocument 400 /error/400.html
        ErrorDocument 401 /error/401.html
        ErrorDocument 403 /error/403.html
        ErrorDocument 404 /error/404.html
        ErrorDocument 405 /error/405.html
        ErrorDocument 500 /error/500.html
        ErrorDocument 503 /error/503.html
    	
        <Directory /var/www/cdsnetworks.tk/web>
            Options FollowSymLinks
            AllowOverride All
            Order allow,deny
            Allow from all
            
            # ssi enabled
            AddType text/html .shtml
            AddOutputFilter INCLUDES .shtml
            Options +Includes
        </Directory>
        <Directory /var/www/clients/client2/web3/web>
            Options FollowSymLinks
            AllowOverride All
            Order allow,deny
            Allow from all
            
            # ssi enabled
            AddType text/html .shtml
            AddOutputFilter INCLUDES .shtml
            Options +Includes
        </Directory>
    
        <IfModule mod_ruby.c>
          <Directory /var/www/clients/client2/web3/web>
            Options +ExecCGI
          </Directory>
          RubyRequire apache/ruby-run
          #RubySafeLevel 0
          <Files *.rb>
            SetHandler ruby-object
            RubyHandler Apache::RubyRun.instance
          </Files>
          <Files *.rbx>
            SetHandler ruby-object
            RubyHandler Apache::RubyRun.instance
          </Files>
        </IfModule>
    
        # cgi enabled
    	<Directory /var/www/clients/client2/web3/cgi-bin>
          Order allow,deny
          Allow from all
        </Directory>
        ScriptAlias  /cgi-bin/ /var/www/clients/client2/web3/cgi-bin/
        AddHandler cgi-script .cgi
        AddHandler cgi-script .pl
        # suexec enabled
        SuexecUserGroup web3 client2
        # Clear PHP settings of this website
        <FilesMatch "\.ph(p3?|tml)$">
            SetHandler None
        </FilesMatch>
        # php as fast-cgi enabled
        <IfModule mod_fcgid.c>
          
    	  # SocketPath /tmp/fcgid_sock/
    	  
    	  # IdleTimeout n (3600 seconds)
    	  # An idle fastcgi application will be terminated after IdleTimeout seconds.
          IdleTimeout 3600
    	  
    	  # ProcessLifeTime n (7200 seconds)
          # A fastcgi application will be terminated if lifetime expired, even no error is detected.
          ProcessLifeTime 7200
    	  
    	  # MaxProcessCount n (1000)
          # The max count of total fastcgi process count.
          # MaxProcessCount 1000
          
    	  # DefaultMinClassProcessCount n (3)
          # The minimum number of fastcgi application instances for any one fastcgi application.
          # Idle fastcgi will not be killed if their count is less than n
          # Set this to 0, and tweak IdleTimeout
    	  DefaultMinClassProcessCount 0
    	  
    	  # DefaultMaxClassProcessCount n (100)
          # The maximum number of fastcgi application instances allowed to run for
          # particular one fastcgi application.
          DefaultMaxClassProcessCount 100
    	  
    	  # IPCConnectTimeout n (3 seconds)
          # The connect timeout to a fastcgi application.
          IPCConnectTimeout 8
    	  
    	  # IPCCommTimeout n (20 seconds)
          # The communication timeout to a fastcgi application. Please increase this
          # value if your CGI have a slow initialization or slow respond.
          IPCCommTimeout 360
          
    	  # BusyTimeout n (300 seconds)
          # A fastcgi application will be terminated if handing a single request
          # longer than busy timeout.
    	  BusyTimeout 300
    	  
        </IfModule>
        <Directory /var/www/cdsnetworks.tk/web>
            AddHandler fcgid-script .php .php3 .php4 .php5
            FCGIWrapper /var/www/php-fcgi-scripts/web3/.php-fcgi-starter .php
            Options +ExecCGI
            AllowOverride All
            Order allow,deny
            Allow from all
        </Directory>
    	<Directory /var/www/clients/client2/web3/web>
            AddHandler fcgid-script .php .php3 .php4 .php5
            FCGIWrapper /var/www/php-fcgi-scripts/web3/.php-fcgi-starter .php
            Options +ExecCGI
            AllowOverride All
            Order allow,deny
            Allow from all
        </Directory>
    
        # add support for apache mpm_itk
        <IfModule mpm_itk_module>
          AssignUserId web3 client2
        </IfModule>
    
        <IfModule mod_dav_fs.c>
          # DO NOT REMOVE THE COMMENTS!
          # IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
          # WEBDAV BEGIN
          # WEBDAV END
        </IfModule>
    
    
    </VirtualHost>
    
    any help would be greatly appreciated thanks!
     
  2. 69c10454

    69c10454 New Member

    here is my named.conf

    Code:
    // This is the primary configuration file for the BIND DNS server named.
    //
    // Please read /usr/share/doc/bind9/README.Debian.gz for information on the 
    // structure of BIND configuration files in Debian, *BEFORE* you customize 
    // this configuration file.
    //
    // If you are just adding zones, please do that in /etc/bind/named.conf.local
    
    include "/etc/bind/named.conf.options";
    
    // prime the server with knowledge of the root servers
    zone "." {
    	type hint;
    	file "/etc/bind/db.root";
    };
    
    // be authoritative for the localhost forward and reverse zones, and for
    // broadcast zones as per RFC 1912
    
    zone "localhost" {
    	type master;
    	file "/etc/bind/db.local";
    };
    
    zone "127.in-addr.arpa" {
    	type master;
    	file "/etc/bind/db.127";
    };
    
    zone "0.in-addr.arpa" {
    	type master;
    	file "/etc/bind/db.0";
    };
    
    zone "255.in-addr.arpa" {
    	type master;
    	file "/etc/bind/db.255";
    };
    
    include "/etc/bind/named.conf.local";
    

    and pri.cdsnetworks.tk file

    Code:
    $TTL        86400
    @       IN      SOA     64.xxx.xxx.91. cory.cdsnetworks.tk. (
                            2011060407       ; serial, todays date + todays serial #
                            28800              ; refresh, seconds
                            7200              ; retry, seconds
                            604800              ; expire, seconds
                            86400 )            ; minimum, seconds
    ;
    
    cdsnetworks.tk. 86400 A        64.xxx.xxx.91
    cdsnetworks.tk.      MX    10   mail.cdsnetworks.tk.
    cdsnetworks.tk.      NS        ns1.cdsnetworks.tk.
    cdsnetworks.tk.      NS        ns2.cdsnetworks.tk.
    mail 86400 A        64.xxx.xxx.91
    ns1 86400 A        64.xxx.xxx.91
    ns2 86400 A        64.xxx.xxx.90
    server1 86400 A        64.xxx.xxx.90
    server2 86400 A        64.xxx.xxx.91
    www 86400 A        64.xxx.xxx.91
    
     
  3. 69c10454

    69c10454 New Member

    Well, I have it figured out haha.. turns out it was simple and it was actually 2 things, 1 when i changed my NAT rules on my pfsense box over to the new settings, I forgot to change the firewall rules at the same time, and my ISP queried my old dns box about 6 hours ago and the old dns box had my domains TTL set to 38400.. about 10.7 hours so I assume within the next 4-5 hours my isp's dns cache should update with the new info, for now I just added an exception to pfsense's dns forwarder so that I can work with it until that is done.

    One other question... How do I go about forcing a zone transfer between my 2 ispconfig boxes? i created a secondary zone, but so far I havn't seen anything transfer over... I know it has to do with rndc, but I don't remember what the command is.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    1) remove the secondary zone. this feature is only for transfers to non ispconfig servers.
    2) enable mirroring in ispconfig server settings.
     
  5. 69c10454

    69c10454 New Member

    When I installed ISPconfig I didn't chose expert on the second install, and there for the 2 servers didn't see each other. I then uninstalled and reinstalled following the instructions in the manual a little better (durrrr) Now everything works like a charm!

    Very slick!

    Thanks!
     

Share This Page