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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 | |
|
|