My ISP gave me 3 IP’s for the same NIC. I managed to set them up correctly. I created one Virtual Server for the first IP address.
Now I get the following issue. When I connect on the other two IP’s I get /var/www content (Apache default), instead of the Virtual Server. How can I redirect those aliases to the real IP used in Virtual Server?
While you can have as many IP addresses as you like within Virtualmin, it assumes that each domain would have just one IP address.
Virtualmin is not currently able to assign multiple IP’s to a particular domain.
We haven’t had many requests previously asking for support of more than one IP per domain – can you describe what it is you’re trying to setup there, and how you’re looking to use more than one IP per domain?
I’ll offer though that if you want all your domain names on your server responding to all these IP addresses, you could always setup your VirtualHost section in Apache like this:
If all the VirtualHost lines are like that, Virtualmin will make new VirtualHost lines the same way.