View Single Post
  #5  
Old 20th April 2008, 23:27
debian-lover debian-lover is offline
HowtoForge Supporter
 
Join Date: Mar 2008
Posts: 13
Thanks: 3
Thanked 0 Times in 0 Posts
Default

OK, done that but the weird problem is that testsite.com point to /var/www/webx/web whereas www.testsite.com points to /var/www/sharedip

here's some related information

Vhosts_ispconfig.conf
Quote:
###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 192.168.16.36:80
<VirtualHost 192.168.16.36:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
NameVirtualHost 192.168.16.37:80
<VirtualHost 192.168.16.37:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: www.testsite.com:80
######################################
#
#
<VirtualHost 192.168.16.37:80>
SuexecUserGroup nobody web14
ServerName www.testsite.com:80
ServerAdmin webmaster@testsite.com
DocumentRoot /var/www/web14/web
ServerAlias testsite.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ErrorLog /var/www/web14/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_flag safe_mode On
php_admin_value open_basedir /var/www/web14/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /var/www/web14/phptmp/
php_admin_value session.save_path /var/www/web14/phptmp/
Alias /error/ "/var/www/web14/web/error/"
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
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web14/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web14/user/$1/web/$3
</VirtualHost>
#
#
#
Co-domain info
Quote:
IP Hostname Domain
192.168.16.37 testsite.com
DNS
Quote:
Domain (SOA): testsite.com
IP Address: 222.222.222.221
A-Record
Quote:
IP-Adresse Hostname
222.222.222.221 www

Last edited by debian-lover; 20th April 2008 at 23:35.
Reply With Quote