On Mon, 3 Jun 2002, Mithun Bhattacharya wrote:

> 
> --- Kunal Shah <[EMAIL PROTECTED]> wrote:
> > Ok, so I tell the list my problem in detail.
> > 
> > I am trying to configure multiple domain on the same
> > ip. I have a static
> > IP and I have registered two domain names say
> > domain1.com and
> > domain2.com with internic.
> 
> Who is resolving the domain names right now ?? What
> did you give as the IP of the DNS server for there
> domains ??

right now, i am using a network, separated from internet. so 
i think i have to setup my own dns on one of machines.

> 
> > Now I want to host these two domains on the same IP.
> > So that it can
> > serve for both www.domain1.com and www.domain2.com
> 
> What all services do you want to provide on each of
> these domains ?

webbased email, website hosting, ftp and ssh.

> 
> > Secondly I want to configure sendmail / qmail so
> > that it can accept the
> > mails on behalf of these two domains.
> 
> For qmail checkout
> http://www.lifewithqmail.org/lwq.html
> 
> Sendmail 
> http://www.sendmail.org/faq/
> 
> > I have gone through apache-overview howto but it has
> > all the details
> > about configuring apache only.( I don't want details
> > for sendmail /
> > qmail or proftpd right now, but need some more
> > detail on sharing single
> > ip with multiple hosts ).
> 
> You just configure your DNS server to resolve both the
> domains to the same IP and thats all there is to it.
> 
> > /sbin/ifconfig eth0 alias www.domain1.com
> > the result is could not find domain name alias.
> 
> You dont need to do anything like that.
> 
> > So I am looking for that information. Once I will do
> > virtual hosts on
> > apache , I will try sendmail / qmail.
> 
> VirtualHost for Apache is configured through apache's
> config file /usr/local/apache/conf/http.conf or
> /etc/httpd/conf/http.conf The file says enuff to get
> you starting - if in doubt we are always ready to help
> you through it :).

Ok Now I have network of two pcs, with ips 192.168.1.1 and 
192.168.1.2

so two things i have to do
1) setup dns server on machine 192.168.1.1
to resolv hosts www.domain1.com to ip 192.168.1.1
and www.domain2.com to ip 192.168.1.1

and 2) configure apache for hosting virutal hosts.
i.e. changing /etc/httpd/conf/http.conf file.

am i on right track ?

--kunal



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to