Return to BSD News archive
#! rnews 2292 bsd Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!imci3!newsfeed.internetmci.com!solaris.cc.vt.edu!hp.fciencias.unam.mx!usenet From: "Alberto de Poo" <adepoo@tamnet.com.mx> Newsgroups: comp.unix.bsd.bsdi.misc Subject: Re: Help with virtual hosts Date: 15 Sep 1996 00:30:41 GMT Organization: =?ISO-8859-1?Q?Asesor=EDa_Empresarial?= Lines: 50 Message-ID: <01bba295$ed840660$8cf130ce@beto.tamnet.com.mx> References: <506oup$pj5@news.cais.com> <01bb9f9b$6560a380$1f02fbcc@ricky.bigeasy.com> NNTP-Posting-Host: tampico28.tamnet.com.mx Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Newsreader: Microsoft Internet News 4.70.1155 I did this but I have trouble with sendmail, only mail that I send from the server goes right, but mail delivery from outside the server, don't get delivered, always an error that point that MX redirects virtual.com to domain.com machine and a Local configuation error show. I include in /etc/named.boot an entry for the new domain, it was just a copy of the main domain, only changed in the part that point to the other IP address. With this it work all right with web, but not with mail, I changed sendmail.cw to include the new virtual domain. Please help > Setup or instruct your name servers to point the virtual host names to the > virtual IP address. Once the name servers are updated, do the following... > > Add the following lines to the VERY END of /etc/netstart using vi if you > are a masochist, or pico if smart... > > ifconfig lo0 alias 204.251.2.51 > arp -s 204.251.2.51 00:c0:df:43:c0:0e pub > >outside of your local network) and ping yourvirtual.domain.com. If it > cries, continue on - if not, contact or look at your name servers. > This is ok. > For simple email handling, all you have to do is pull /etc/sendmail.cw into > vi or pico, and add... > > yourvirtual.domain.com > ftp.yourvirtual.domain.com > mail.yourvirtual.domain.com > www.yourvirtual.domain.com > > You probably only need yourvirtual.domain.com, but I'd throw the others in > for good measure. > This is where do not work right, work within the server, but not receiving from outside. > Richard Windmann > Big Easy Computing