I assume you want the one in sites-enabled?
Code
- <VirtualHost 46.21.174.132:80> <IfModule mpm_itk_module> AssignUserID vu2004 vu2004 </IfModule> <IfModule !mpm_itk_module> <IfModule suexec_module> SuexecUserGroup vu2004 vu2004 </IfModule> </IfModule> ServerAdmin webmaster@robertdejager.nl DocumentRoot /var/www/virtual/robertdejager.nl/htdocs ServerName robertdejager.nl ServerAlias www.robertdejager.nl robertdejager.nl vu2004.admin.devotee.nl Alias /errors /var/www/virtual/robertdejager.nl/errors/ RedirectMatch permanent ^/ftp[\/]?$ https://admin.devotee.nl/ftp/ RedirectMatch permanent ^/pma[\/]?$ https://admin.devotee.nl/pma/ RedirectMatch permanent ^/webmail[\/]?$ https://admin.devotee.nl/webmail/ RedirectMatch permanent ^/imscp[\/]?$ https://admin.devotee.nl/ ErrorDocument 401 /errors/401.html ErrorDocument 403 /errors/403.html ErrorDocument 404 /errors/404.html ErrorDocument 500 /errors/500.html ErrorDocument 503 /errors/503.html <IfModule mod_cband.c> CBandUser vu2004 </IfModule> # SECTION awstats support BEGIN. # SECTION awstats dynamic BEGIN. ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /stats http://localhost/stats/robertdejager.nl ProxyPassReverse /stats http://localhost/stats/robertdejager.nl <Location /stats> <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^(.+)\?config=([^\?\&]+)(.*) $1\?config=robertdejag$ </IfModule> AuthType Basic AuthName "Statistics for domain robertdejager.nl" AuthUserFile /var/www/virtual/robertdejager.nl/.htpasswd AuthGroupFile /var/www/virtual/robertdejager.nl/.htgroup Require group statistics </Location> # SECTION awstats dynamic END. # SECTION awstats support END. # SECTION cgi support BEGIN. ScriptAlias /cgi-bin/ /var/www/virtual/robertdejager.nl/cgi-bin/ <Directory /var/www/virtual/robertdejager.nl/cgi-bin> AllowOverride AuthConfig #Options ExecCGI Order allow,deny Allow from all </Directory> # SECTION cgi support END. <Directory /var/www/virtual/robertdejager.nl/htdocs> # httpd dmn entry PHP support BEGIN. # httpd dmn entry PHP support END. Options -Indexes Includes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all </Directory> # SECTION php enabled BEGIN. <IfModule fastcgi_module> ScriptAlias /php5/ /var/www/fcgi/robertdejager.nl/ <Directory "/var/www/fcgi/robertdejager.nl"> AllowOverride None Options +ExecCGI -MultiViews -Indexes Order allow,deny Allow from all </Directory> </IfModule> <IfModule fcgid_module> <Directory /var/www/virtual/robertdejager.nl/htdocs> FCGIWrapper /var/www/fcgi/robertdejager.nl/php5-fcgid-starter .$ Options +ExecCGI </Directory> <Directory "/var/www/fcgi/robertdejager.nl"> AllowOverride None Options +ExecCGI MultiViews -Indexes Order allow,deny </Directory> </IfModule> <IfModule php5_module> php_admin_value open_basedir "/var/www/virtual/robertdejager.nl/:/v$ php_admin_value upload_tmp_dir "/var/www/virtual/robertdejager.nl/p$ php_admin_value session.save_path "/var/www/virtual/robertdejager.n$ php_admin_value sendmail_path '/usr/sbin/sendmail -f webmaster@robe$ #Custom values php_admin_value max_execution_time "30" php_admin_value max_input_time "60" php_admin_value memory_limit "128M" php_value error_reporting "E_ALL & ~E_NOTICE" php_value display_errors "Off" php_admin_value post_max_size "10M" php_admin_value upload_max_filesize "10M" php_admin_value allow_url_fopen "Off" </IfModule> # SECTION php enabled END. Include /etc/apache2/imscp/robertdejager.nl.conf</VirtualHost>The one being included at the end is empty.
And the reason is:
Your site is associated with the IP address 46.21.174.130 (see your DNS), but in the vhost it's another IP that is used: 46.21.174.132. Apache can not find the site if the IP address is not the same as mentioned in the DNS zone.
Code
- dig robertdejager.nl
- ; <<>> DiG 9.7.3 <<>> robertdejager.nl
- ;; global options: +cmd
- ;; Got answer:
- ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20419
- ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 0
- ;; QUESTION SECTION:
- ;robertdejager.nl. IN A
- ;; ANSWER SECTION:
- robertdejager.nl. 86400 IN A 46.21.174.130
- ;; AUTHORITY SECTION:
- robertdejager.nl. 7200 IN NS ns1.nederhost.nl.
- robertdejager.nl. 7200 IN NS ns2.nederhost.nl.
- robertdejager.nl. 7200 IN NS ns3.nederhost.net.
- ;; Query time: 33 msec
- ;; SERVER: 127.0.0.1#53(127.0.0.1)
- ;; WHEN: Sun Oct 21 20:42:49 2012
- ;; MSG SIZE rcvd: 127
You must fix the IP issue.
Cheers ;