[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: IP Based Virtual Hosting
>The proper term for what I was referring to in my previous
>correspondance is 'IP Based Virtual Hosting'. This is *easy*
>stuff. Once you install the ipaliasing module - and configure
>the IP aliases on eth0 - it's really easy. Very similiar to
>the other setup that we employed.
Per my earlier suggestions, which confirms my thinking about what I had
studied back when I was configuring these servers.
>Now, to take things a step further. I need to setup virtual FTP
>and Sendmail. So, let's say there are 2 domains hosted on the
>server VIRT1.COM with a DocumentRoot of /virtual/virt1.com AND
>VIRT2.COM with a DocumentRoot of /virtual/virt2.com. Now user
>'joeblow' (from virt1.com) ftp's into the server to manipulate some web
>files.
>Instead of dropping joeblow into ~joeblow - I need it to
>drop him into /virtual/virt1.com.
>
>Also, let's say the sales department of both virt1.com and virt2.com
>want the e-mail alias 'sales'. One of them would be out of luck -
>as only one alias would be possible - unless there was a virtual
>sendmail setup - each virtual with their own aliases and passwd.
>
>Anyone know anything about this?
Yes.
It's possible to alias user names in sendmail; in Red Hat there's an /etc/alias
file.
It's also possible to configure sendmail to handle multiple domains, but I have
not gone there yet. Configuring sendmail has been known to drive people right
off the deep end, but it's possible to get sendmail to do all sorts of neat
tricks. This would best be done gently, by looking at the existing sendmail.cf
file in /etc
Seems that telnet and some other services would go to the "right" place as a
result of DNS, but it's no clear how to do the same logon name to a host with
two different domains.
Perhaps one of the network admins here can chime in?
---> RGB <---