In this tutorial we’ll install the Debian Linux 9 (squeeze), Apache 2 with mpm-itk (to run each web as a isolated user),...
Add an additional IP address to your serverÁstþór IP
1. Open the network configuration file (pico /etc/network/interfaces)
Check the name of your network interface. You should see a line similar to this one: “iface eth0 inet static”. In my case the name is eth0.
Add these lines to the end of the file:
iface eth0:1 inet static
Replace eth0 by your network interface name. If you are adding multiple IP addresses to the same system, you can increase the number after “eth0:”.
2. Activate the new virtual network interface