Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 27th March 2009, 23:34
DizzyD DizzyD is offline
Junior Member
 
Join Date: Mar 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

directives for cleanprocanada.com
Code:
    DocumentRoot /var/www/cleanprocanada.com/web
  
    ServerName cleanprocanada.com
    ServerAlias www.cleanprocanada.com
    ServerAdmin webmaster@cleanprocanada.com

    ErrorLog /var/log/ispconfig/httpd/cleanprocanada.com/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/cleanprocanada.com/web>
        Options FollowSymLinks
        AllowOverride Indexes AuthConfig Limit FileInfo
        Order allow,deny
        Allow from all
        
        # ssi enabled
        AddType text/html .shtml
        AddOutputFilter INCLUDES .shtml
        Options +Includes
    </Directory>

    # cgi enabled
    ScriptAlias  /cgi-bin/ /var/clients/client1/web2/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    # suexec enabled
    SuexecUserGroup web2 client1
    # php as fast-cgi enabled
    <Directory /var/www/cleanprocanada.com/web>
        AddHandler fcgid-script .php .php3 .php4 .php5
        FCGIWrapper /var/www/php-fcgi-scripts/web2/.php-fcgi-starter .php
        Options +ExecCGI
        AllowOverride all
        Order allow,deny
        Allow from all
    </Directory>
yet it's its actually going to /var/www/all-starcleanpro.com/www which was the first site I set up in ispconfig. So i tried carpetcleaningbusiness.com and it too points to the same directory even though its' directives say it should be going elsewhere.
Reply With Quote
Sponsored Links
  #12  
Old 27th March 2009, 23:35
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,176
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

Please post the complete vhost file, the first lines are missing.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #13  
Old 27th March 2009, 23:38
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,176
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

I just checked the domains, the domain www.cleanprocanada.com points to 67.199.101.212 while www.all-starcleanpro.com points to 65.254.250.105, so there seems to be a problem with your DNS records.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #14  
Old 27th March 2009, 23:42
DizzyD DizzyD is offline
Junior Member
 
Join Date: Mar 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I suppose I should have mentioned that all-star doesn't point the server yet. But cleanprocanada does and so does carpetcleaningbusiness but both of them point to the directory that was made for all-star, if that makes sense.

Basicly I created all-star first but then realized I wanted to make sure others work before I transfer it, so I created cleanprocanada.com and then carpetcleaningbusiness.com then pointed the domains to the server via A-records just like I do w/ other servers but then I found that both of them point to all-stars directory instead of their own.
Reply With Quote
  #15  
Old 27th March 2009, 23:49
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,176
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

Ok, then please post the two complete vhost files of these domains.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #16  
Old 28th March 2009, 00:05
DizzyD DizzyD is offline
Junior Member
 
Join Date: Mar 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

all-starcleanpro.com
Code:
      DocumentRoot /var/www/all-starcleanpro.com/web
  
    ServerName all-starcleanpro.com
    ServerAlias www.all-starcleanpro.com
    ServerAdmin webmaster@all-starcleanpro.com

    ErrorLog /var/log/ispconfig/httpd/all-starcleanpro.com/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/all-starcleanpro.com/web>
        Options FollowSymLinks
        AllowOverride Indexes AuthConfig Limit FileInfo
        Order allow,deny
        Allow from all
        
        # ssi enabled
        AddType text/html .shtml
        AddOutputFilter INCLUDES .shtml
        Options +Includes
    </Directory>

    # cgi enabled
    ScriptAlias  /cgi-bin/ /var/clients/client1/web1/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    # suexec enabled
    SuexecUserGroup web1 client1
    # php as fast-cgi enabled
    <Directory /var/www/all-starcleanpro.com/web>
        AddHandler .php .php3 .php4 .php5
        Options +ExecCGI
        AllowOverride all
        Order allow,deny
        Allow from all
    </Directory>
carpetcleaningbusiness.com
Code:
DocumentRoot /var/www/carpetcleaningbusiness.com/web
  
ServerName carpetcleaningbusiness.com
    ServerAlias www.carpetcleaningbusiness.com
    ServerAdmin webmaster@carpetcleaningbusiness.com

    ErrorLog /var/log/ispconfig/httpd/carpetcleaningbusiness.com/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/carpetcleaningbusiness.com/web>
        Options FollowSymLinks
        AllowOverride Indexes AuthConfig Limit FileInfo
        Order allow,deny
        Allow from all
        
        # ssi enabled
        AddType text/html .shtml
        AddOutputFilter INCLUDES .shtml
        Options +Includes
    </Directory>

    # cgi enabled
    ScriptAlias  /cgi-bin/ /var/clients/client1/web4/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    # suexec enabled
    SuexecUserGroup web4 client1
Reply With Quote
  #17  
Old 28th March 2009, 00:52
DizzyD DizzyD is offline
Junior Member
 
Join Date: Mar 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

any ideas? thanks again for helping
Reply With Quote
  #18  
Old 28th March 2009, 09:35
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,176
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
 
Default

This are not the complete files, the most interesting part is missing. the part with the IP addresses of the vhosts.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenLDAP + Samba Domain Controller On Ubuntu 7.10 Logon Issue 02walshe HOWTO-Related Questions 0 18th February 2009 00:01
Setting up a child domain in Bind to point to different server ACDII Server Operation 0 3rd February 2009 16:38
Issue resolving to correct domain name with telnet chillifire Installation/Configuration 12 1st March 2008 00:05
Hostname & Domain Name Issue DJLunacy Installation/Configuration 4 15th November 2006 09:24
ISP Services wouldn't restart any service, possibly Domain Host configuration issue. Kamran Shah Installation/Configuration 20 17th August 2006 17:33


All times are GMT +2. The time now is 18:19.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.