Re: ADSL/HUB & Apache

This is a discussion on Re: ADSL/HUB & Apache within the Apache Web Server forums, part of the Web Server and Related Forums category; You didnt say if the external ip is stactic or not. If its not, then you can get a dns ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-25-2003
Secret
 
Posts: n/a
Default Re: ADSL/HUB & Apache

You didnt say if the external ip is stactic or not. If its not, then you can
get a dns record entry by using a small free app from www.no-ip.com . This
will report back to the site with your ip so you could have a url such as
anything.servehttp.com. set the router to forward anthing on port 80 to the
machine running apache and by using the vertualhosts setting, you can have
many sites hosted on one machine.

I think it may cause issues if you setup vertualhosts and then try to access
the website internally. if you access it using the external ip, then it
should work ok.

UDP is not required for web access.

Hope this has confused you further ;-)

Pete.

"Robi" <r_buecheler@remove.yahoo.com> wrote in message
news:vbq8eflv4093da@corp.supernews.com...
> Baard Larsen wrote:
> > Need som help to configure my apache here.
> >
> > I've put up a hub so both of my PC's can be online at the same time.
> > But now apache will not work, as the ip is 192.168.1.10
> > External ip is 80.212.20.32
> >
> > How can I get this to work?
> > Apache fiel httpd.conf is a the bottom of this message.

>
> [...]
>
> you need to tell your router to forward a certain port call to your
> Apache PC.
>
> I use a LinkSys DSL Router, and my Router config contains the
> following Forwarding rule:
>
> Customized Protocol Protocol IP
> Applications Ext.Port TCP UDP Address Enable
> ------------ ------------ -------- -------- --------------- ------
> [http] [80] To [80] [X] [ ] 192.168.1.[100] [X]
>
> (I am not quite sure if I need the UDP protocol,
> but I can turn it on if necessary)
>
> now on the httpd.conf side, all I have is:
> one ServerName:
> ServerName 192.168.1.100:80
> (I only allow port 80)
>
> and at the very end:
>
> <VirtualHost *>
> ServerName 192.168.1.100
> DocumentRoot "\the\path\to\my\web\folder"
> </VirtualHost>
>
> HTH
>
> Robi



 


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

vB 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 07:09 AM.


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