I have set up a virtual network adapter with a secondary IP address on my server (as per here: http://www.liberiangeek.net/2012/04/create-virtual-network-adapters-in-ubuntu-12-04-precise-pangolin/)
I want apache, mysql and php to work with this secondary IP address. So if I SSH onto my server (using the primary ip address, not the virtual one), and just run something like
sudo apt-get install apache2
This installs apache, but I want it to be installed for the secondary IP address. Will apache automatically work for the secondary IP address too? If not, how do I install it so it will work?