Hello,
i want to build httpd conf to include a sub-domain that listens to two IPs 127.0.0.1 (for internal access) and xx.xx.xxx.xxx (for external access). how can i configure /var/cpanel/userdata/USERNAME/sub.exmple.com to have two IPs and when building using /scripts/rebuildhttpdconf i end up with something like the below?
<VirtualHost 127.0.0.1:80 xx.xx.xxx.xxx:80>
ServerName sub.exmple.com
...
</VirtualHost>
assigning two IPs, separated by space, in the "ip" field for sub.exmple.com file is causing a compile error .
Thanks
i want to build httpd conf to include a sub-domain that listens to two IPs 127.0.0.1 (for internal access) and xx.xx.xxx.xxx (for external access). how can i configure /var/cpanel/userdata/USERNAME/sub.exmple.com to have two IPs and when building using /scripts/rebuildhttpdconf i end up with something like the below?
<VirtualHost 127.0.0.1:80 xx.xx.xxx.xxx:80>
ServerName sub.exmple.com
...
</VirtualHost>
assigning two IPs, separated by space, in the "ip" field for sub.exmple.com file is causing a compile error .
Thanks