Hello,
I want to be able to define 2 virtualhosts(or a virtualhost with 2 ip-s) so that one domain can be served using two different IP-s...so i have tried:
- manually edit httpd.conf, and modify the VirtualHost from <VidtualHost 192.168.1.10:80> to <VirtualHost 192.168.1.10:80 192.168.1.20:80> and then to run /usr/local/cpanel/bin/apache_conf_distiller --update
- creating a separate virtualhost with the secound IP in the /usr/local/apache/conf/includes/pre_virtualhost_1.conf, rebuild httpd (/scripts/rebuildbuildhttpdconf) without success.
Can someone explain me what I do wrong or how can I solve this ?
Thank you
I want to be able to define 2 virtualhosts(or a virtualhost with 2 ip-s) so that one domain can be served using two different IP-s...so i have tried:
- manually edit httpd.conf, and modify the VirtualHost from <VidtualHost 192.168.1.10:80> to <VirtualHost 192.168.1.10:80 192.168.1.20:80> and then to run /usr/local/cpanel/bin/apache_conf_distiller --update
- creating a separate virtualhost with the secound IP in the /usr/local/apache/conf/includes/pre_virtualhost_1.conf, rebuild httpd (/scripts/rebuildbuildhttpdconf) without success.
Can someone explain me what I do wrong or how can I solve this ?
Thank you