PDA

View Full Version : Help, client web locations ISPConfig3 & Centos


gobokster
17th April 2009, 14:42
I have been using ISPconfig 2 for quite some time .. but after reading a better version with a proper update funtions .. why not i upgrade it to the new one ..

installation went fine using, my curent configuration is below
OS: Centos 5.3 with ispconfig3 (http://www.howtoforge.com/perfect-server-centos-5.2-ispconfig-3) <-- thanks for the tutorials
NIC: i have 2 nic that already been NAT with outside to external ip

previously i had stuck on how to configure the DNS server with my own NS setting (http://www.how2forge.org/forums/showthread.php?p=146330) .. i guess it solved <-- but how do i check that i already configured it right using my own nameserver? :D

from the stable release ispconfig2 .. when we create a site .. it will automatically create a folder together with the symlink .. but in the ispconfig3, it didn't behave like that or did i miss somethings. i'm stuck where did i have to place my webfiles. didn't it suppose to create the dir automatically when i create a user

this is my server config settings
[global]
webserver=apache
mailserver=postfix
dnsserver=mydns

[server]
auto_network_configuration=y
ip_address=10.x.x.x
netmask=255.255.255.128
gateway=10.x.x.x
hostname=blackbytes.co.cc
nameservers=x

[mail]
module=postfix_mysql
maildir_path=/var/vmail/[domain]/[localpart]
homedir_path=/var/vmail
mailuser_uid=5000
mailuser_gid=5000
mailuser_name=vmail
mailuser_group=vmail
relayhost=
relayhost_user=
relayhost_password=
mailbox_size_limit=0
message_size_limit=0

[getmail]
getmail_config_dir=/etc/getmail

[web]
website_basedir=/var/www
website_path=/var/www/clients/client[client_id]/web[website_id]
website_symlinks=/var/www/[website_domain]/:/var/www/clients/client[client_id]/[website_domain]/
vhost_conf_dir=/etc/httpd/conf/sites-available
vhost_conf_enabled_dir=/etc/httpd/conf/sites-enabled

[fastcgi]
fastcgi_starter_path=/var/www/php-fcgi-scripts/[system_user]/
fastcgi_starter_script=.php-fcgi-starter
fastcgi_alias=/php/
fastcgi_phpini_path=/etc/
fastcgi_children=8
fastcgi_max_requests=5000
fastcgi_bin=/usr/bin/php-cgi

[jailkit]
jailkit_chroot_home=/home/[username]
jailkit_chroot_app_sections=basicshell editors extendedshell netutils ssh sftp scp groups jk_lsh
jailkit_chroot_app_programs=/usr/bin/groups /usr/bin/id /usr/bin/dircolors /bin/basename /usr/bin/dirname /usr/bin/nano



please help :(.. since some of sites is down for quite several days bcoz of me :o

btw .. my sites is http://www.blackbytes.co.cc


thanks you in advanced for the support and the wonderful cp ;)

till
17th April 2009, 22:19
all directories are created automatically, you fund the symlinks to the website dir in the exact same location as in ispconfig 2: e.g. /var/www/domain.tld/web

gobokster
20th April 2009, 02:03
all directories are created automatically, you fund the symlinks to the website dir in the exact same location as in ispconfig 2: e.g. /var/www/domain.tld/web

yes, i should be automatically created from the config files .. but mine were not created .. not sure what i'm missing ..

gobokster
20th April 2009, 04:29
an update ..

the client site created successfully after i reinstall an ispconfig3 :D and the sites created following the client templates

[web]
website_basedir=/var/www
website_path=/var/www/clients/client[client_id]/web[website_id]
website_symlinks=/var/www/[website_domain]/:/var/www/clients/client[client_id]/[website_domain]/
vhost_conf_dir=/etc/httpd/conf/sites-available
vhost_conf_enabled_dir=/etc/httpd/conf/sites-enabled


will update after completion on DNS configurations