Thanks for the inputs, Sir... My mails (postfix) and web hosting (mixed
ip-/name-based) are doing well under all hosted domains. It is set-up such
that eth0:1 -> server.a.com, and so on and clients access all services using
the ip/hostname of the virtual interface assigned them .
What our client-users are indicating is that when they telnet to the ip
address or hostname assigned to their domain, their shell would prompt
"server.a.com $ " thus giving the illusion that it's their own dedicated
server. Also, all env variables relating to hostname will then have values
of the hostname to which their IP resolves to. This should be the same for
FTP, where the greeting line should indicate that they're connecting to
their own hostname, (220 a.server.com FTP Server wu......) as it is for all
other messages for that matter such as pop3 (+OK QPOP at server.a.com....).
It should change correspondingly if you access the other virtual interfaces.
For the shell thing, it may be done via logon shell scripts, but i dont know
for the other services. The desired effect is to give them an illusion that
it's a server dedicated to their own domain. The requirement may be trivial
in its usefulness but it might as well be an exercise. :)
Christie
----- Original Message -----
From: Pablo Manalastas <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 09, 2000 2:53 PM
Subject: Re: [plug] Re: multiple hosts
> Quoting Mary Christie Generalao <[EMAIL PROTECTED]>:
>
> > I wanted to achieve the effect of when a user logs in to the eth0:N ip
> > address, the machine hostname that he'll be aware of is the one to which
> > the
> > ip address of that interface resolves to.
>
> An alternative solution is the following:
>
> Assign only one IP to the machine (since it has only one network
> card anyway). At the nameservers, make appropriate entries so that
> the different FQDNs return that same IP address.
>
> Then to solve the problem of mail, see the sendmail doc
> on virtual hosting (http://www.sendmail.org/virtual-hosting.html).
>
> To solve the web problem, see the Apache documentation on
> virtual web (http://www.apache.org/docs/vhosts/index.html).
>
> I am not aware if you can virtualize other services.
>
> Good luck!
>
> >>PMana
>
>
> -------------------------------------------------
> This mail sent through IMP: mail.ateneo.net
>
> -
> Philippine Linux Users Group. Web site and archives at
http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]