About the apache for ipv6 configuration

I am running apache 2 on centos 7 which is running ipv4 , now I would like to enable it to support ipv6 , would advise what I need to change to Adding IPv6 support to the server ? or nothing need to do ?

the existing vhosts is as below .

  <VirtualHost *:80>
 ServerAdmin xxx.com.hk
 " 
 "
 </VirtualHost>

Two questions:-

  • What does netstat -na | grep LISTEN | grep 80 show?
  • Do you have an IPv6 address allocated? What do you get as output for ip a s ?

You may have it already available.

Please wrap all code, files, configurations, data, input & output/errors in CODE tags. It makes it easier to read, preserves spacing for indenting/fixed-width data and stops interpreting text as links, smileys, email addresses etc.

Robin

#netstat -na | grep LISTEN | grep 80

tcp6       0      0 :::80                   :::*                    LISTEN

Do you have an IPv6 address allocated? What do you get as output for ip a s ? <<== yes , IPv6 address is allocated , ip a s shows correct ipv6 address .