ipv6 virtualhost

2 posts / 0 new
Last post
#1 Fri, 07/26/2019 - 02:30

ipv6 virtualhost


I tried to point out site using ipv6. I edited /etc/httpd/conf/httpd.conf and add this lines

Listen [2a01:4f8:xxxx:xxxxx::1]:80


VirtualHost [2a01:4f8:xxxx:xxxxx::1]:80


VirtualHost [2a01:4f8:xxxx:xxxxx::1]:443

Im sure ipv6 is attached

ifconfig -a

inet6 2a01:4f8:xxxx:xxxxx::1 prefixlen 64 scopeid 0x0

im using Centos7 with webmin/virtualmin.

http://[2a01:4f8:xxxx:xxxxx::1]:8080/ not working.

Thanks in advance

Fri, 07/26/2019 - 08:07
  1. You cant have the IP for inet6/64 be a 1. That is always the gateway. Interface IP for inet6 should be ::2 or higher.

  2. Your web setup is for port 80 and 443, So :8080 is not going to work.

Topic locked