Hi, Last week I added a bunch of alias domains in ISP config all linked to the same domain. Worked fine! Today I've added another alias domain, using the same procedure and it shows the: "It works!" page. The process I have followed as as followed: Create A-record pointing to the IP address of the server Within ISPconfig click on Add new alias domain Enter the domain in the Aliasdomain field Paent Website leave it (domain was selected) Redirect Type, leave default (blank) Redirect Path leave on default (blank) Auto-Subdomain select *. SEO Redirect leave default (blank) Check the Active checkbox Press the save button and after waiting a min. of 5 I loaded the newly added domain in the browser, showing the previous mentioned result. I've checked vhost files and the domain is added there just like the previously, correct working domains. I've restarted Apache as well as the server but without any result. Please advice how to solve this issue.
Find below the required information. DNS is working fine since instead of the website the place holder is displayed for the additional domain. Linux Distribution: Ubuntu Version: 12.04 LTS ISPConfig: 3.0.5.3 ##### SERVER ##### IP-address (as per hostname): ***.***.***.*** IP-address(es) (as per ifconfig): ***.***.***.*** [INFO] ISPConfig is installed. ##### ISPCONFIG ##### ISPConfig version is 3.0.5.3 ##### VERSION CHECK ##### [INFO] php (cli) version is 5.3.10-1ubuntu3.9 ##### PORT CHECK ##### ##### MAIL SERVER CHECK ##### ##### RUNNING SERVER PROCESSES ##### [INFO] I found the following web server(s): Apache 2 (PID 16409) [INFO] I found the following mail server(s): Postfix (PID 2055) [INFO] I found the following pop3 server(s): Dovecot (PID 1008) [INFO] I found the following imap server(s): Dovecot (PID 1008) [INFO] I found the following ftp server(s): PureFTP (PID 2077) ##### LISTENING PORTS ##### (only () Local (Address) [localhost]:9000 (1954/php-fpm.conf)) [localhost]:10024 (1132/amavisd) [localhost]:10025 (2055/master) [anywhere]:27017 (1005/mongod) [anywhere]:3306 (1036/mysqld) [anywhere]:587 (2055/master) [anywhere]:110 (1008/dovecot) [anywhere]:143 (1008/dovecot) [anywhere]:8080 (16409/apache2) [anywhere]:80 (16409/apache2) [anywhere]:8081 (16409/apache2) [anywhere]:465 (2055/master) [anywhere]:28017 (1005/mongod) [anywhere]:21 (2077/pure-ftpd) ***.***.***.***:53 (1028/named) [localhost]:53 (1028/named) [anywhere]:22 (858/sshd) [anywhere]:25 (2055/master) [localhost]:953 (1028/named) [anywhere]:443 (16409/apache2) [anywhere]:993 (1008/dovecot) [anywhere]:995 (1008/dovecot) *:*:*:*::*:587 (2055/master) [localhost]10 (1008/dovecot) [localhost]43 (1008/dovecot) *:*:*:*::*:9200 (2706/java) *:*:*:*::*:465 (2055/master) *:*:*:*::*:9300 (2706/java) *:*:*:*::*:21 (2077/pure-ftpd) *:*:*:*::*:53 (1028/named) *:*:*:*::*:22 (858/sshd) *:*:*:*::*:25 (2055/master) *:*:*:*::*:953 (1028/named) *:*:*:*::*:993 (1008/dovecot) *:*:*:*::*:995 (1008/dovecot) ##### IPTABLES ##### Chain INPUT (policy ACCEPT) target prot opt source destination fail2ban-dovecot-pop3imap tcp -- [anywhere]/0 [anywhere]/0 multiport dports 110,995,143,993 fail2ban-pureftpd tcp -- [anywhere]/0 [anywhere]/0 multiport dports 21 fail2ban-ssh tcp -- [anywhere]/0 [anywhere]/0 multiport dports 22 Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain fail2ban-dovecot-pop3imap (1 references) target prot opt source destination RETURN all -- [anywhere]/0 [anywhere]/0 Chain fail2ban-pureftpd (1 references) target prot opt source destination RETURN all -- [anywhere]/0 [anywhere]/0 Chain fail2ban-ssh (1 references) target prot opt source destination RETURN all -- [anywhere]/0 [anywhere]/0
Your server is not writing changes to disk, the post handles this as separate chapter on how to debug that. may you plaese post the debug output.
Please read the entire post, ist the last chapter. http://www.howtoforge.com/forums/showthread.php?t=58408
Hi, sorry, I have missed that one. I've executed the process and below is what shows for me when I execute the shell script manually: 04.03.2014-00:02 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock 04.03.2014-00:02 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lo Let me know if you need more information.
When I remove the domain and then re-add the domain I am getting the following output: ... 04.03.2014-08:51 - DEBUG - Apache status is: running 04.03.2014-08:51 - DEBUG - Calling function 'restartHttpd' from module 'web_module'. 04.03.2014-08:51 - DEBUG - Apache restart return value is: 1 04.03.2014-08:51 - DEBUG - Apache online status after restart is: running 04.03.2014-08:51 - WARNING - Apache did not restart after the configuration change for website eutenders.eu. Reverting the configuration. Saved non-working config as /etc/apache2/sites-available/XXXXXX.XXX.vhost.err 04.03.2014-08:51 - WARNING - Reason for Apache restart failure: apache2: Syntax error on line 237 of /etc/apache2/apache2.conf: Syntax error on line 131 of /etc/apache2/sites-enabled/900-XXXXXX.XXX.vhost: Could not open configuration file /etc/nginx/fastcgi_params;: No such file or directory Action 'configtest' failed. The Apache error log may have more information. ...fail! 04.03.2014-08:51 - DEBUG - Calling function 'restartHttpd' from module 'web_module'. 04.03.2014-08:51 - DEBUG - Processed datalog_id 455 04.03.2014-08:51 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
Seems a sif you added config directives for a nginx webserver in the apache directives field of the website XXXXXX.XXX in ispconfig that apache dont understand, something like "/etc/nginx/fastcgi_params;".Please remove that from apache directives field and press save. If you did not add that in the apache directives field, then you most likely modified the global apache vhost template file. In tis case, remove your modifications from the global template.
I have removed what you said. Now when I add a domain and repeat the procedure I am getting the following error message: Code: 06.03.2014-18:54 - DEBUG - Writing the vhost file: /etc/apache2/sites-available/XXXXXXX.XX.vhost 06.03.2014-18:54 - DEBUG - Apache status is: running 06.03.2014-18:54 - DEBUG - Calling function 'restartHttpd' from module 'web_module'. 06.03.2014-18:54 - DEBUG - Apache restart return value is: 1 06.03.2014-18:54 - DEBUG - Apache online status after restart is: running 06.03.2014-18:54 - WARNING - Apache did not restart after the configuration change for website eutenders.eu. Reverting the configuration. Saved non-working config as /etc/apache2/sites-available/XXXXXXX.XX.vhost.err 06.03.2014-18:54 - WARNING - Reason for Apache restart failure: apache2: Syntax error on line 237 of /etc/apache2/apache2.conf: Syntax error on line 176 of /etc/apache2/sites-enabled/htf-common-issues.php: Include takes one argument, Name of the config file to be included Action 'configtest' failed. The Apache error log may have more information. ...fail! 06.03.2014-18:54 - DEBUG - Calling function 'restartHttpd' from module 'web_module'. 06.03.2014-18:54 - DEBUG - Processed datalog_id 458 06.03.2014-18:54 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock finished. When I go to the apache2.conf there seems to be nothing strange. The line mentioned has: Code: Include sites-enabled/
The file the error mentioned is this: /etc/apache2/sites-enabled/htf-common-issues.php seems as if you copied a php file into the apache vhost config folder. Deleete that file, you can not store php files there.