Networking Forums

Networking Forums > Network Hardware > Network Routers > apache behind router

Reply
Thread Tools Display Modes

apache behind router

 
 
julian_m
Guest
Posts: n/a

 
      02-26-2006, 12:54 PM
I'm having problems to set up an Apache Web Server inside a LAN. I've a
dynamic IP connection which is used by a CNet cnig-914 router. The
computer where Apache is installed on, has 192.168.1.4 IP. The problem,
as you might guess, is that the webserver canīt be reached from
outside the LAN.
All works fine if i write in the address bar
http://192.168.1.4/index.htm, but it doesnīt work if i try to access
it through http://[ROUTER-IP]/index.php

Given that the router (CNet cnig-914) isnīt as common as Linksys seems
to be, i'm gonna show what kind of menus it has:

NAT --> Virtual Server --> Server IP
NAT --> Virtual Server --> Mapping Ports

(I tried with 192.168.1.4 and port 80 / 8080, and nothing )


Firewall --> DMZ --> IP Address of Local DMZ Host --> IP Address
Firewall --> DMZ --> IP Address of Public DMZ Host --> IP Address

(I tried with 192.168.1.4, without luck )


Note that i'm using a no-ip account and before installing the router,
it was working fine.

A little bit of my Apache config file

Listen 8080 #(Not worked with port 80)


<VirtualHost *:80>
DocumentRoot "C:/Apache2/htdocs/julianmslp_zapto_org"
ServerName julianmslp.zapto.org
<Directory "C:/Apache2/htdocs/julianmslp_zapto_org">
#Options Indexes FollowSymLinks MultiViews
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

Any help would be apreciated

regards - jm

 
Reply With Quote
 
 
 
 
Andrew Bell
Guest
Posts: n/a

 
      03-04-2006, 09:16 PM
Hello,

Map it using your WAN ip address not your LAN address.


 
Reply With Quote
 
Jimmy Kerckhofs
Guest
Posts: n/a

 
      03-24-2006, 05:06 PM
You have to setup Port-Forwarding to 192.168.1.4 Port 80
(usually you can do this onto the router config page http://192.168.1.1)

Rgds,
Jimmy

"julian_m" <(E-Mail Removed)> schreef in bericht
news:(E-Mail Removed) ups.com...
I'm having problems to set up an Apache Web Server inside a LAN. I've a
dynamic IP connection which is used by a CNet cnig-914 router. The
computer where Apache is installed on, has 192.168.1.4 IP. The problem,
as you might guess, is that the webserver canīt be reached from
outside the LAN.
All works fine if i write in the address bar
http://192.168.1.4/index.htm, but it doesnīt work if i try to access
it through http://[ROUTER-IP]/index.php

Given that the router (CNet cnig-914) isnīt as common as Linksys seems
to be, i'm gonna show what kind of menus it has:

NAT --> Virtual Server --> Server IP
NAT --> Virtual Server --> Mapping Ports

(I tried with 192.168.1.4 and port 80 / 8080, and nothing )


Firewall --> DMZ --> IP Address of Local DMZ Host --> IP Address
Firewall --> DMZ --> IP Address of Public DMZ Host --> IP Address

(I tried with 192.168.1.4, without luck )


Note that i'm using a no-ip account and before installing the router,
it was working fine.

A little bit of my Apache config file

Listen 8080 #(Not worked with port 80)


<VirtualHost *:80>
DocumentRoot "C:/Apache2/htdocs/julianmslp_zapto_org"
ServerName julianmslp.zapto.org
<Directory "C:/Apache2/htdocs/julianmslp_zapto_org">
#Options Indexes FollowSymLinks MultiViews
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

Any help would be apreciated

regards - jm


 
Reply With Quote
 
Rosco
Guest
Posts: n/a

 
      03-25-2006, 07:34 AM
Jimmy Kerckhofs cried out

> You have to setup Port-Forwarding to 192.168.1.4 Port 80
> (usually you can do this onto the router config page
> http://192.168.1.1)
>
> Rgds,
> Jimmy
>
> "julian_m" <(E-Mail Removed)> schreef in bericht
> news:(E-Mail Removed) ups.com...
> I'm having problems to set up an Apache Web Server inside a LAN.
> I've a dynamic IP connection which is used by a CNet cnig-914
> router. The computer where Apache is installed on, has 192.168.1.4
> IP. The problem, as you might guess, is that the webserver canīt
> be reached from outside the LAN.
> All works fine if i write in the address bar
> http://192.168.1.4/index.htm, but it doesnīt work if i try to
> access it through http://[ROUTER-IP]/index.php
>
> Given that the router (CNet cnig-914) isnīt as common as Linksys
> seems to be, i'm gonna show what kind of menus it has:
>
> NAT --> Virtual Server --> Server IP
> NAT --> Virtual Server --> Mapping Ports
>
> (I tried with 192.168.1.4 and port 80 / 8080, and nothing )
>
>
> Firewall --> DMZ --> IP Address of Local DMZ Host --> IP Address
> Firewall --> DMZ --> IP Address of Public DMZ Host --> IP
> Address
>
> (I tried with 192.168.1.4, without luck )
>
>
> Note that i'm using a no-ip account and before installing the
> router, it was working fine.
>
> A little bit of my Apache config file
>
> Listen 8080 #(Not worked with port 80)
>
>
> <VirtualHost *:80>
> DocumentRoot "C:/Apache2/htdocs/julianmslp_zapto_org"
> ServerName julianmslp.zapto.org
> 0 <Directory "C:/Apache2/htdocs/julianmslp_zapto_org">
> #Options Indexes FollowSymLinks MultiViews
> Order allow,deny
> Allow from all
> </Directory>
> </VirtualHost>
>
> Any help would be apreciated
>
> regards - jm
>
>
>


dont know aobut cnet but on linksys 8080 is the port for remote
router admin i wouldnt use that if it is the same for cnet i would
stick with 80 as long as you port foward 80 to 104 you shouldnt have
a problem
 
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
IIS Vs Apache NeWGeeK Windows Networking 4 06-22-2009 03:04 PM
Apache mrdjmagnet@aol.com Linux Networking 1 12-14-2008 01:05 AM
setting up Apache through port 8081 with Westell 327 router rigelstar Network Routers 1 08-29-2006 12:40 AM
apache and d-link 524 router ... weevil Linux Networking 5 05-16-2006 02:38 PM
IIS vs Apache...???? gerry Home Networking 9 09-07-2004 07:15 PM



1 2 3 4 5 6 7 8 9 10 11