Setting up a LAN on CentOS

view story

http://unix.stackexchange.com – The instructions for setting up a LAN, which I assume would allow me to create a sub-domain on my VPS, are the following using the command-line on CentOS: Using sudo, create the configuration file /etc/sysconfig/network-scripts/ifcfg-eth0:0 with the following: DEVICE=eth0:0 BOOTPROTO=none ONPARENT=yes TYPE=Ethernet IPADDR=$ADDITIONAL_IP$ NETMASK= GATEWAY=XXX.XXX.XXX.1 NAME=eth0:0 If you are using a LAN address, it doesn't require a gateway address and would use for the netmask and then you would restart apache. So for LAN IP insert IPADDR=$some ip$? Is GATEWA (HowTos)