Hi, I am having trouble with ispconfig3 configuration. Client #1: I made client: Client1 I created DNS Zone for Client1 I assigned Server IP (ipv4) Address to Client1 from config. I add a website it shows server IP address and after setting up website everything is working perfectly. Gives a welcome.html Client #2: But now I made another client2. I created DNS zone for client2 I cannot assign same ip address to client2 from config. I add a website, I cannot assign ip except server, when adding a website. I am getting error when apache restarts. For that website. Code: 20.12.2014-02:08 - WARNING - Reason for Apache restart failure: Syntax error on line 7 of /etc/apache2/sites-enabled/900-rajaahaad.com.vhost: The address or port is invalid Action 'configtest' failed. The Apache error log may have more information. failed! I open that file and I see it shows having ip address of client1. But site is not working for client2 and gives apache account unavailable error. Code: <Directory /var/www/rajaahaad.com> AllowOverride None Order Deny,Allow Deny from all </Directory> <VirtualHost 107.155.87.12:80> DocumentRoot /var/www/rajaahaad.com/web ServerName rajaahaad.com ServerAlias *.rajaahaad.com ServerAdmin [email protected] ErrorLog /var/log/ispconfig/httpd/rajaahaad.com/error.log <IfModule mod_ssl.c> </IfModule> <Directory /var/www/rajaahaad.com/web> # Clear PHP settings of this website <FilesMatch ".+\.ph(p[345]?|t|tml)$"> SetHandler None </FilesMatch> Options +FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> <Directory /var/www/clients/client2/web10/web> # Clear PHP settings of this website <FilesMatch ".+\.ph(p[345]?|t|tml)$"> SetHandler None </FilesMatch> Options +FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> # suexec enabled <IfModule mod_suexec.c> SuexecUserGroup web10 client2 </IfModule> # php as fast-cgi enabled # For config options see: http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html <IfModule mod_fcgid.c> FcgidIdleTimeout 300 FcgidProcessLifeTime 3600 # FcgidMaxProcesses 1000 FcgidMaxRequestsPerProcess 5000 FcgidMinProcessesPerClass 0 FcgidMaxProcessesPerClass 10 FcgidConnectTimeout 3 FcgidIOTimeout 600 FcgidBusyTimeout 3600 FcgidMaxRequestLen 1073741824 </IfModule> <Directory /var/www/rajaahaad.com/web> <FilesMatch "\.php[345]?$"> SetHandler fcgid-script </FilesMatch> FCGIWrapper /var/www/php-fcgi-scripts/web10/.php-fcgi-starter .php FCGIWrapper /var/www/php-fcgi-scripts/web10/.php-fcgi-starter .php3 FCGIWrapper /var/www/php-fcgi-scripts/web10/.php-fcgi-starter .php4 FCGIWrapper /var/www/php-fcgi-scripts/web10/.php-fcgi-starter .php5 Options +ExecCGI AllowOverride All Order allow,deny Allow from all </Directory> <Directory /var/www/clients/client2/web10/web> <FilesMatch "\.php[345]?$"> SetHandler fcgid-script </FilesMatch> FCGIWrapper /var/www/php-fcgi-scripts/web10/.php-fcgi-starter .php FCGIWrapper /var/www/php-fcgi-scripts/web10/.php-fcgi-starter .php3 FCGIWrapper /var/www/php-fcgi-scripts/web10/.php-fcgi-starter .php4 FCGIWrapper /var/www/php-fcgi-scripts/web10/.php-fcgi-starter .php5 Options +ExecCGI AllowOverride All Order allow,deny Allow from all </Directory> # add support for apache mpm_itk <IfModule mpm_itk_module> AssignUserId web10 client2 </IfModule> <IfModule mod_dav_fs.c> # Do not execute PHP files in webdav directory <Directory /var/www/clients/client2/web10/webdav> <ifModule mod_security2.c> SecRuleRemoveById 960015 SecRuleRemoveById 960032 </ifModule> <FilesMatch "\.ph(p3?|tml)$"> SetHandler None </FilesMatch> </Directory> DavLockDB /var/www/clients/client2/web10/tmp/DavLock # DO NOT REMOVE THE COMMENTS! # IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE! # WEBDAV BEGIN # WEBDAV END </IfModule> </VirtualHost> Please suggest me what should I change in ISPConfig for allowing multiple client to use same ip address without an error. I have only one IPv4 address.
To use the same IP address from multiple clienst, just dont assign it to a client. It can be used by multiple clients then automatically as thats the default in apache and ispconfig.