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.
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 Secondly I want to configure sendmail / qmail so that it can accept the mails on behalf of these two domains. And lastly, I want to setup virtual ftp servers, such that it can serve for both ftp.domain1.com and ftp.domain2.com. Now to do these things, I need to setup virtual hosts with apache, and virtual mail server with sendmail or qmail. I also want to setup proftpd server for these hosts. Now my research so far tells me to read three howtos 1) apache-overview howto 2) virtual web mini howto 3) www how to. 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 ). And the last two howtos are outdated. I could not run the command specified in that. For example, if I say /sbin/ifconfig eth0 alias www.domain1.com the result is could not find domain name alias. And when I referred to man of ifconfig, it says now alias will not work with ifconfig and I have to do something with ipchains . ( I am running on redhat 7.2 enigma) So I am looking for that information. Once I will do virtual hosts on apache , I will try sendmail / qmail. One more thing I want to ask the list is, Is it possible to setup a small network, separated from internet to test these configurations ? I mean if I configure apache with virtual hosts and a dns server on this network, will it give me correct results ? --kunal > >I assume you mean the apache part out here ?? If so >what did you attempt to do and where were you >unsuccessful?? I will take the liberty of assuming you >didnt want to be spoon fed :). > >> 3) sendmail server for mx record for virtual domain. > >You need to setup virtualdomains under sendmail - I am >sure Suresh has posted the URL for that a million >times over ;). A little google search might turn it >up. > >> So for me, its necessary to know the steps needed to >> configure virtual >> websites. For example first you have to configure >> dns , then some apache >> configurations, then bind / dnscache configuration >> etc. > >Err there are a lot of things which you could possibly >do it all depends on your requirement. Maybe you need >to explain in more details what you want to achieve >and you will get better responses. > >You need to setup DNS if you want to control multiple >domains but what exqctly you have to do there depends >on what you have in hand and what you need to do with >those resources. > >http/ftp and other access have simillar dependencies. > > >Mithun > _______________________________________________________________ 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
