Hello,
I have:
· OVH dedicated server with Debian 6 + Proxmox 2. IP = 0.0.0.0
· OpenVZ VM with Debian 6 (kernel 2.6.32-16-pve), ISPConfig 3.0.4.2, Apache 2.2.16 and MyDNS 1.2.8.27. IP = 1.1.1.1
· Last version of CSF+LFD installed on both machines (with IP 2.2.2.2 allowed).
ISPConfig 3 is working for several years with a RapidSSL Wildcard certificate installed manually like default-ssl. This certificate is associated to domain1.es and IP 1.1.1.1
Now, I want use a standard RapidSSL in domain2.es (whose DNS are configured in OVH Manager).
I bought a OVH IPv4 FailOver (IP = 2.2.2.2).
I added IP 2.2.2.2 to my interfaces and I restarted my network (following the Manual's chapter
How Do I Manually Configure New IP Addresses On My System?):
# vi /etc/network/interfaces
...
auto venet0:1
iface venet0:1 inet static
address 2.2.2.2
netmask 255.255.255.255
# ifconfig
...
venet0:1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:2.2.2.2 P-t-P:2.2.2.2 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
I added 2.2.2.2 to ISPConfig 3 (System -> Server IP Addresses):
Type: IPv4
IP Address: 2.2.2.2
HTTP NameVirtualHost: yes
HTTP Ports: 80,443
I created the DNS zone of domain2.es and change 1.1.1.1 records to 2.2.2.2
I created the website of domain2.es:
IPv4: 2.2.2.2
Auto-Subdomain: None or www (I tested both)
SSL: Yes
I filled the SSL fields (with a-z characters), selected "Create certificate" and saved.
And I restarted Apache & MyDNS.
At this moment:
·
http://domain2.es displays
http://domain1.es (like a domain alias).
·
https://domain2.es says
Forbidden. You don't have permission to access / on this server.
# tail -f /var/log/apache2/error.log
[...] [error] [...] client denied by server configuration: /var/www/domain2.es/web/
No error in:
/var/log/apache2/ssl_error.log
/var/log/ispconfig/httpd/domain2.es/error.log
Any idea?
Thanks!
Manuel
Recent comments
16 hours 53 min ago
23 hours 35 min ago
1 day 3 hours ago
1 day 5 hours ago
1 day 13 hours ago
1 day 22 hours ago
1 day 23 hours ago
2 days 3 hours ago
2 days 7 hours ago
2 days 8 hours ago