Virtual Hosting
szumlins@msu.edu
szumlins@msu.edu
Mon, 2 Oct 2000 20:49:24 -0000
I guess I used the wrong wording, but this is exactly what I want to do. I
don't maintain the DNS serving for the site, TCIMet does. I don't know if I'm
competent enough yet to run bind, either. I'm not sure if this is possible,
but it was the initial point of the e-mail. Sorry if I was unclear.
-Mike
Sean <picasso@madflower.com> said:
> He isnt doing virtual hosting.
>
> His network looks like this:
> internet <--> gateway box <--> internal box
> (outside IP) (inside IP)
> (web/ftp server) (web/ftp server)
> Name == www/ftp name == blah
>
> Really you need to do port forwarding, unless I really missed something?
>
> Can this be done with the DNS server? ie blah.whatever.com ==
> blah.whatever.com:81 and set up all port 81 requests to be forwarding to
> the internal box?
>
>
> On Mon, 2 Oct 2000, Daniel R . Kilbourne wrote:
>
> > Yes. RTFM :) Seriously, I think I did post on this before. I know
that
> > Apache documentation has the answer, but in short, add this to your
> > httpd.conf:
> >
> >
> > # netophilia
> > <VirtualHost blah.monkey-dance.com>
> > ServerAdmin blah@monkey-dance.com
> > DocumentRoot /home/httpd/html/blah
> > ServerName blah.monkey-dance.com
> > ServerAlias blah-blah.monkey-dance.com
> > ErrorLog /usr/local/apache/logs/blah.monkey-dance.errors
> > </VirtualHost>
> >
> >
> >
> > then restart Apache
> >
> >
> >
> >
> > On Mon, Oct 02, 2000 at 01:08:56PM -0400, Mike Szumlinski spake:
> >
> > > Okay, I have another question for those of you out there that know a
> > > lot...
> > > I think I've asked this before, but it was just curiosity, not an
actual
> > > want to do this.
> > > Here goes...
> > >
> > > I have a TCI Met account that I have 1 IP for. I have several machines
> > > running behind this IP via a Redhat 6.2 box doing IPMasq. It also runs
a
> > > webserver and a ftp server. What I would like to do is put another box
> > > behind my 6.2 box (with the real IP) and have the outside world be able
> > > to reach it by going to http://blah.monkey-dance.com instead of
> > > www.monkey-dance.com. I am aware that my DNS host has to add an alias
for
> > > blah.monkey-dance.com, but how do I make Apache/Linux or whatever
service
> > > I need tell any requests for blah.monkey-dance.com to go to a
192.168.x.x
> > > IP behind my router. Any suggestions?
> > >
> > > -Mike
> > >
> > > -=--===---===---===---===-=-
> > > |Mike Szumlinski |
> > > |Michigan State University |
> > > |A26079565 |
> > > -=--===---===---===---===-=-
> > > "The future is no place to place your better days" -DMB
> > >
> > >
> > > _______________________________________________
> > > linux-user mailing list
> > > linux-user@egr.msu.edu
> > > http://www.egr.msu.edu/mailman/listinfo/linux-user
> >
> > --
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > Daniel R. Kilbourne
> > daniel.kilbourne@voyager.net
> > Voyager.net Network Engineer
> >
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > _______________________________________________
> > linux-user mailing list
> > linux-user@egr.msu.edu
> > http://www.egr.msu.edu/mailman/listinfo/linux-user
> >
>
>