Setup Apache with IPv6

Posted by mrz on Server Fault See other posts from Server Fault or by mrz
Published on 2012-12-16T09:37:08Z Indexed on 2012/12/16 11:08 UTC
Read the original article Hit count: 178

Filed under:
|
|

I have two virtual machine on my computer. I have Apache installed on one of them (would be referred to as "server" after this), and I have set the Apache to listen to an IPv6. And when I enter the IPv6 into web browser on the "server" I see my index.html file. so far so good ...

I want to be able to open a web browser on the other virtual machine("client") and see the index.html. But, when I try entering the IPv6 of the "server" in a web browser on the "client" I get an Unable to establish a connection to the server error.

I can ping6 "client" from "server" and vice verse. There is only one thing to mention. ifconfig of the "server" shows 3 different IPv6 which two of them are scoped Global and there is one Link scope IPv6. On the "client" there is only one Link scope IPv6 though. I only can ping the Link IPv6s. Pinging other IPv6s would result connect:Network is unreachable. And if I set Apache to listen to Link IPv6, The rcapache2 start will fail the job.

Any thoughts on what I am probably missing/doing wrong?

© Server Fault or respective owner

Related posts about apache2

Related posts about IPv6