Howto setup IPv6 WHM/cPanel 11.32.2.15

cypheroz

Member
Feb 27, 2012
7
1
51
Adelaide
cPanel Access Level
Root Administrator
I've now got an IPv6 address on our VPS.
How can I setup Apache2.2 to listen on this address for several VirtualHosts?

What needs to change in
1. /var/cpanel/cpanel.config apache port??
2. /usr/local/apache/conf/httpd.conf

I guess I need to distill afterwards

Thanks!
 

radeonpower

Well-Known Member
Jul 23, 2009
135
4
68
Iceland
cPanel Access Level
Root Administrator
I'm doing mine like this: Apache Configuration / Include Editor

Put this in Pre Main Include for all IPv6 numbers you have.
Listen [IPv6:numbers:go:here]:80

Put Virtualhost info in Post VirtualHost Include
I just copied the virtualhost for a domain in here replacing IPv4 with IPv6, you have to put a bracket though like this:
<VirtualHost [IPv6:number:go:here]:80>
 

dylan.keys

Member
Oct 14, 2012
5
0
1
cPanel Access Level
Root Administrator
Hi when I put Listen [IPv6:numbers:go:here]:80 into my configuration and restart apache I can not perform a successful restart. Any idea on why this would be?