[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Virtual Hosts



I need to configure a system to act as a virtual host.  There is a HOWTO,
but it discusses virtual domains.  I know I need to get multiple names
registered in DNS.  For an example:

   host1.domain.com   199.99.99.1
   virt1.domain.com   199.99.99.2

I think I also need to edit the sendmail.cf file and add:

  Cw host1.domain.com
  Cw virt1.domain.com

I also need to run a few ifconfig commands:

  ifconfig eth0 199.99.99.1 netmask 255.255.255.0 broadcast 199.99.99.0

For the virtual stuff:

  ifconfig eth0 alias 199.99.99.2 netmask 255.255.255.255

Is this all correct?  Also, is the netmask in the alias config correct? 
Are there steps I am leaving out?  Are there any special route commands?

Thanks.


 __________________________________________________________________________
| Bryan Swann (swann nosc mil)  803/974-4267   803/974-5080 (Fax)          |
| Eagan McAllister Associates, Inc.                                        |
|                                                                          |
|  "Everything must be working perfectly, cause I don't smell any smoke"   |
 --------------------------------------------------------------------------



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]