Networking Forums

Networking Forums > Computer Networking > Linux Networking > related to httpd configuration

Reply
Thread Tools Display Modes

related to httpd configuration

 
 
Sitorus Wenny
Guest
Posts: n/a

 
      10-07-2003, 04:30 AM
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
 
 
 
 
Xyerp
Guest
Posts: n/a

 
      10-07-2003, 04:22 PM
(E-Mail Removed) (Sitorus Wenny) wrote in message news:<(E-Mail Removed) 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
 
David Efflandt
Guest
Posts: n/a

 
      10-08-2003, 02:26 AM
On 6 Oct 2003 21:30:24 -0700, Sitorus Wenny <(E-Mail Removed)> 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
 
Sitorus Wenny
Guest
Posts: n/a

 
      10-08-2003, 05:43 AM
(E-Mail Removed) (Xyerp) wrote in message news:<(E-Mail Removed). com>...
> (E-Mail Removed) (Sitorus Wenny) wrote in message news:<(E-Mail Removed) 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 (E-Mail Removed)..

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
 
Sitorus Wenny
Guest
Posts: n/a

 
      10-08-2003, 06:16 AM
(E-Mail Removed) (David Efflandt) wrote in message news:<(E-Mail Removed)>...
> On 6 Oct 2003 21:30:24 -0700, Sitorus Wenny <(E-Mail Removed)> 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
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Security related configuration for 2Wire 2701hg-b wireless routerwith builtin modem jonathanztaub@yahoo.com Wireless Internet 9 02-14-2008 11:08 PM
HTTPD : Speed from the 90s of the Web Henry16@2cuk.co.uk Linux Networking 3 10-25-2006 03:38 PM
iptables blocks httpd, why? Coenraad Loubser Linux Networking 0 03-08-2005 08:02 PM
socklist won't show httpd GVK Linux Networking 0 07-01-2004 01:35 PM
httpd.conf, help please.. Sitorus Wenny Linux Networking 0 10-20-2003 04:02 PM



1 2 3 4 5 6 7 8 9 10 11