Situation:
VPS server with multiple domains (CentOs 6.5 64 bit, DirectAdmin).
VPS has an IPv4 and IPv6 adresse.
The sites are working ok, when I try it myself (using IPv4), every page shows correctly (number of visitors and behaviour is ok in google analytics).
The sites are reachable by IPv6 (but I can't test only the "server is reachable based on their domainname).
In /etc/httpd/conf/httpd.conf the document root is:
DocumentRoot "/var/www/html"
This is not the directory the html pages can be found. They are in /home/domains/nameofwebsite.com/public_html
Also this is part of httpd.conf
Include conf/extra/httpd-vhost.conf
Include conf/extra/directadmin-vhost.conf (contains: include /usr/local/directadmin/data/users/admin/httpd.conf
in /usr/local/directadmin/data/users/admin/httpd.conf
I can find all the virtualhost domains including the correct DocumentRoot.
But... There is no IPv6 adress stored.
<VirtualHost 1.2.3.4:80 >
Servername ......
SernameAlias .....
...
...
</VirtualHost>
Problem:
In the apache error log I see ---only for IPv6 adresses--- "file doesn't exist error " for pages that do exist but, not at the location /var/www/html
Like:
[date---] [error] [client 2001:981:26e2:1:f8f9:ef76:50af:be81] File does not exist: /var/www/html/an-existing-page-of-one-of-the-websites
[date---] [error] [client 2001:981:26e2:1:f8f9:ef76:50af:be81] File does not exist: /var/www/html/404.shtml
Question:
Any idea why only IPv6 addresses generate file not found errors in the apache log file?
Is there a way I can tell DirectAdmin to use IPv6 address in the vhosts file?
VPS server with multiple domains (CentOs 6.5 64 bit, DirectAdmin).
VPS has an IPv4 and IPv6 adresse.
The sites are working ok, when I try it myself (using IPv4), every page shows correctly (number of visitors and behaviour is ok in google analytics).
The sites are reachable by IPv6 (but I can't test only the "server is reachable based on their domainname).
In /etc/httpd/conf/httpd.conf the document root is:
DocumentRoot "/var/www/html"
This is not the directory the html pages can be found. They are in /home/domains/nameofwebsite.com/public_html
Also this is part of httpd.conf
Include conf/extra/httpd-vhost.conf
Include conf/extra/directadmin-vhost.conf (contains: include /usr/local/directadmin/data/users/admin/httpd.conf
in /usr/local/directadmin/data/users/admin/httpd.conf
I can find all the virtualhost domains including the correct DocumentRoot.
But... There is no IPv6 adress stored.
<VirtualHost 1.2.3.4:80 >
Servername ......
SernameAlias .....
...
...
</VirtualHost>
Problem:
In the apache error log I see ---only for IPv6 adresses--- "file doesn't exist error " for pages that do exist but, not at the location /var/www/html
Like:
[date---] [error] [client 2001:981:26e2:1:f8f9:ef76:50af:be81] File does not exist: /var/www/html/an-existing-page-of-one-of-the-websites
[date---] [error] [client 2001:981:26e2:1:f8f9:ef76:50af:be81] File does not exist: /var/www/html/404.shtml
Question:
Any idea why only IPv6 addresses generate file not found errors in the apache log file?
Is there a way I can tell DirectAdmin to use IPv6 address in the vhosts file?