Quote:
Originally Posted by donnie
I am running CentOS on my server and I would like to host more than one domain and use unique IP for each one.
Server came set up with only one IP but I have been assigned 10 more IP?s.
Is there any guide on how to do this? I could ask my host to do it for me but I want to learn how it is done?
Also I am using DirectAdmin on this server if that makes any difference...
|
from shell do the following
nano /etc/sysconfig/network-scripts/ifcfg-eth0:1
DEVICE=eth0:0
BOOTPROTO=static
IPADDR=IPADDRESS
ONBOOT=yes
save the file then type
service network restart
or in direct admin
Login as your main admin account, and look for the ip manager
good luck