How to make some virtualhost use two ips

  • I am using i-MSCP 1.5.1


    For maintenance tasks and also for costumers development I want some virtualhosts to attend from another ip besides the main one.


    The second ip is virtual supplied by the openvpn service running on my server. From this VPN I want to do all the maintenance and development tasks for some clients.


    The issue of the alias of the name, I resolve it by putting a line in /etc/apache2/imscp/domain.example.conf, but the issue of the second ip I do not know how to solve it.



    Please, any ideas on how to resolve the access from the wan and the vpn to some or all of the virtual hosts ...?


    Thank you very much in advance..!


    alusan

  • @alusan


    You can make use of the 10_apache2_dualstack.pl listener file.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • You're welcome.


    Thread closed.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206