At 19:25 29/01/99, [EMAIL PROTECTED] wrote:
>  I've tried to setup virtual hosting for sendmail & apache under suse 5.3.
>I don't have luck in that according to mini howto on virtual hosting.
>1. don't know where to put the line 
>         ifconfig eth0:0 <virtual ip address>
>   since this only works if eth0 is created

well, put it somewhere after your network interfaces have started, for
example in the end of /sbin/init.d/network or boot.local may be a good
place. Don't forget to add a host route to your new virtual ip, if you want
to ping it from localhost [ route add -host <virtual ip address> dev eth0:0
] :)

>2. sendmail cannot recognise virtual domain name and all mails passed
>through will have actual domain name

Turn off the domain masquarading. If you edit /etc/sendmail.cf directly,
remove the DMactual.dom.ain line, or otherwise run YaST and remove if from
there :) That way, sendmail will not modify your From addresses :)

>3. same home page is accessed when calling from browser for 2 domain names

You have to configure your apache for the dirrerent ips/hostnames. See the
documentation at http://www.apache.org/ and in particular, the
documentation for VirtualHost and NameVirtualHost directives :-)


Kind regards,
Sotiris.
-
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archiv at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to