[lug] virtual domains
hector M Banda
hector at need-info.com
Wed Jun 7 16:11:36 MDT 2000
Thanks Ralf,
Hey a quick question:
When I have multiple domains or I just want to add more servers to my main DNS
server, which file do I need to add those entries?
named.ip.number.host
named.my.domain.name
named.local
Thanks,
On Wed, 07 Jun 2000, you wrote:
> On Wed, Jun 07, 2000 at 02:10:56PM -0700, hector M Banda wrote:
> > Hi all,
> > I have a server where I like to host virtual domains ( about 3 or 4) but I'd
> > like to see some recommendations before I can start making changes. I already
> > have one running on my server with DNS and everything but AI want to add three
> > more.
>
> I assume we talk about webservers here ...
>
> > Let say:
> >
> > I already own all those domains that I want to host . Now, when I
> > register the domains and I get all the DNS's ( like granitecanyon) do I point
> > all those domains to the same server IP address?
>
> Yes, unless you have more than one IP-Address for your webserver and
> compelling reasons for using them (like differnt firewall settings
> for the different servers).
>
> > I know there are some changes I need to do on my web server configuration but
> > I'm not sure about the best approach to continue.
>
> I guess, it depends what server software you use ;-)
> If you use Apache (v. 1.3.x) you need to do the following:
>
> In the main section of the configuration file (usually http.conf):
>
> # Your servers IP Address
> NameVirtualHost 192.168.2.98
>
> For each virtual host:
>
> <VirtualHost 192.168.2.98>
> ServerName my.domain.com
>
> DocumentRoot /var/www/my.domain.com/htdocs
> ErrorLog /var/www/my.domain.com/logs/error
> TransferLog /var/www/my.domain.com/logs/access
>
>
> ... Server specific configuration options here ....
>
> </VirutalHost>
>
> This should get you started. Apache has pretty good
> online documentation that usually comes with the
> apache packages of the major linux distributions and
> is also available online at <http://ww.apache.org>.
>
> Ralf Mattes
>
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
--
===========================================
Hector M Banda
Senior Computer Programmer
Information Systems Department
Imperial Valley College
Imperial Ca, 92251
Phone: 760.355.6105
Fax : 425.790.6379
============================================
More information about the LUG
mailing list