I am trying to set up a small server to run from home and want to host a couple of web sites on it. I currently have managed to set up the master on the dns and the web server, however, I want to setup another IP based aliasing virtual domain. My problem lies when I enter the following commands:
/sbin/ifconfig eth0:1 172.16.3.10
followed by
/sbin/route add -host 172.16.3.10 dev eth0:1
that seems to work and I check it by doing an ifconfig which shows the new IP attached to the virtual eth0:1, however, when I restart the server and do an ifconfig the new IP alias is no longer there.
If anyone can help me (and understand my jumbled question) I would be very greatful. I am using redhat 6.2