related to httpd configuration

This is a discussion on related to httpd configuration within the Linux Networking forums, part of the Linux Forums category; Dear Sirs, I am on a masq'ed Redhat 8.0 box, which installed Apache webserver and getting a dynamics ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-07-2003
Sitorus Wenny
 
Posts: n/a
Default related to httpd configuration

Dear Sirs,

I am on a masq'ed Redhat 8.0 box, which installed Apache
webserver and getting a dynamics DNS such that people can browse
my site, say http://www.mylinux.dinamik.net/ as well as its /~users.
This I think because the /etc/host is set as mylinux. Now I want
outside can open the site with http://www.mylinux2.dinamik.net/
without changing the /etc/host. Is it possible for such alias?
How I have to configure the httpd.conf file?

Thanks for your helps.

ss wenny.-
Reply With Quote
  #2 (permalink)  
Old 10-07-2003
Xyerp
 
Posts: n/a
Default Re: related to httpd configuration

ss_wenny@yahoo.com (Sitorus Wenny) wrote in message news:<f5d461f.0310062030.31ecb259@posting.google.c om>...
> Dear Sirs,
>
> I am on a masq'ed Redhat 8.0 box, which installed Apache
> webserver and getting a dynamics DNS such that people can browse
> my site, say http://www.mylinux.dinamik.net/ as well as its /~users.
> This I think because the /etc/host is set as mylinux. Now I want
> outside can open the site with http://www.mylinux2.dinamik.net/
> without changing the /etc/host. Is it possible for such alias?
> How I have to configure the httpd.conf file?
>
> Thanks for your helps.
>
> ss wenny.-


Soundns like you need "name based virtual hosts". Look for that bit in the manual.
Reply With Quote
  #3 (permalink)  
Old 10-08-2003
David Efflandt
 
Posts: n/a
Default Re: related to httpd configuration

On 6 Oct 2003 21:30:24 -0700, Sitorus Wenny <ss_wenny@yahoo.com> wrote:
> Dear Sirs,
>
> I am on a masq'ed Redhat 8.0 box, which installed Apache
> webserver and getting a dynamics DNS such that people can browse
> my site, say http://www.mylinux.dinamik.net/ as well as its /~users.
> This I think because the /etc/host is set as mylinux. Now I want
> outside can open the site with http://www.mylinux2.dinamik.net/
> without changing the /etc/host. Is it possible for such alias?
> How I have to configure the httpd.conf file?


An example of how I set up mine for multiple name based virtual hosts
using no-ip.com names (and default worm trap) is at
http://efflandt.freeshell.org/siteinfo/

--
David Efflandt - All spam ignored http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
Reply With Quote
  #4 (permalink)  
Old 10-08-2003
Sitorus Wenny
 
Posts: n/a
Default Re: related to httpd configuration

Xyerp@hotmail.com (Xyerp) wrote in message news:<3d7bc779.0310070822.2f3de8e4@posting.google. com>...
> ss_wenny@yahoo.com (Sitorus Wenny) wrote in message news:<f5d461f.0310062030.31ecb259@posting.google.c om>...
> > Dear Sirs,
> >
> > I am on a masq'ed Redhat 8.0 box, which installed Apache
> > webserver and getting a dynamics DNS such that people can browse
> > my site, say http://www.mylinux.dinamik.net/ as well as its /~users.
> > This I think because the /etc/host is set as mylinux. Now I want
> > outside can open the site with http://www.mylinux2.dinamik.net/
> > without changing the /etc/host. Is it possible for such alias?
> > How I have to configure the httpd.conf file?
> >
> > Thanks for your helps.
> >
> > ss wenny.-

>
> Soundns like you need "name based virtual hosts". Look for that bit in the manual.


Thanks alot for Xyerp@hotmail.com..

I tried like the following but did not work as I expected..

NameVirtualHost IP-of-dinamik-hostname

<VirtualHost IP-of-dinamik-hostname>
ServerName www.mylinux.dinamik.net
DocumentRoot /var/www/html
</VirtualHost>

<VirtualHost IP-of-dinamik-hostname>
ServerName www.mylinux2.dinamik.net
DocumentRoot /var/www/html
</VirtualHost>

it boots without any error message in /var/log/message but
when open the site http://www.mylinux2.dinamik.net/ it
redirected to the site of www.dinamik.net
http://www.mylinux.dinamik.net/ can still opened normally.

Is there any solution for helps?

ss wenny.-
Reply With Quote
  #5 (permalink)  
Old 10-08-2003
Sitorus Wenny
 
Posts: n/a
Default Re: related to httpd configuration

efflandt@xnet.com (David Efflandt) wrote in message news:<slrnbo6tf5.t95.efflandt@typhoon.xnet.com>...
> On 6 Oct 2003 21:30:24 -0700, Sitorus Wenny <ss_wenny@yahoo.com> wrote:
> > Dear Sirs,
> >
> > I am on a masq'ed Redhat 8.0 box, which installed Apache
> > webserver and getting a dynamics DNS such that people can browse
> > my site, say http://www.mylinux.dinamik.net/ as well as its /~users.
> > This I think because the /etc/host is set as mylinux. Now I want
> > outside can open the site with http://www.mylinux2.dinamik.net/
> > without changing the /etc/host. Is it possible for such alias?
> > How I have to configure the httpd.conf file?

>
> An example of how I set up mine for multiple name based virtual hosts
> using no-ip.com names (and default worm trap) is at
> http://efflandt.freeshell.org/siteinfo/



owhh great..!! thank you very much. I will go there..

ss.wenny.-
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:38 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0