Question:
I was not able to find a definitive answer. Does one have to declare the server name twice in the global config using each stack?
Am I making the incorrect assumption that Apache2 will do name based virtual hosts in IPv6?
I have a /64, so if I need to define them directly so be it, but I only have 1 IPv4, and would prefer not to have to buy a block for this very simple project. I also want to be able to spin up https and this is making my brain hurt.
Info:
The box is pingable, reachable, and I could see the specific test page for each virtual host on the IPv4 side, and the global test page of the box.
The box is pingable, reachable, and I can see the global default global page, but apparently not the virtual hosts in the IPv6
Error Message:
Code: Select all
# sudo apachectl configtest
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::216:3eff:fe0b:dfef. Set the 'ServerName' directive globally to suppress this message
Syntax OK
Code: Select all
CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-123.4.4.el7.x86_64
Architecture: x86-64 (VM-XEN)
WITH: httpd-2.4.6-80.el7.centos.1.x86_64
/etc/hosts
Code: Select all
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
XX.XX.XX.XX blah1.blah.com www.blah.com blah.com blah
2001:470:c:XXXX::X blah1.blah.com www.blah.com blah.com blah
Thank you in advance for your help!
Gabriel