• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 298
  • Last Modified:

My router login page appears whenever I am trying to access my webserver's homepage

I have a cisco soho 96 router on a static ADSL line. I have set up an apache webserver on a machine which I can access locally (127.0.0.1) but whenever I try to access it from the internet (www.mydomain.com) I come across the login page of my router. I have forwarded port 80 on my local machine which is on address 10.10.10.2. My webserver is set up to listen to port 80 on 10.10.10.2. My router configuration is the following:

interface Ethernet0
ip address 10.10.10.1 255.255.255.0
ip nat inside
no ip mroute-cache
!
ip nat inside source list 102 interface Dialer1 overload
ip nat inside source static tcp 10.10.10.2 80 interface Dialer 80
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
ip http server
no ip http secure-server
!
access-list 102 permit ip 10.10.10.0 0.0.0.255 any

Is there a way to avoid my router's login page whenever I access my webserver?
0
piperak
Asked:
piperak
  • 3
  • 3
1 Solution
 
lrmooreCommented:
Turn off the router's web service:
   
   no ip http server
0
 
lrmooreCommented:
Any progress? Are you still working on this? Do you need more information?
0
 
piperakAuthor Commented:
I tried that but i did not get my webserver's homepage. It just doen't show the login page anymore(nor any error page). It seems like all the traffic for port 80 goes to my router's address and stays there. No forwarding takes place. However traffic at other ports gets forwarded with no problem.(I am forwarding ports 4662 and 4672 for emule and it works fine). I got a second router from a friend (tomson-alcatel speedtouch 510i) and i get the same problem. I tried to change the address and the ports that apache is listening to and still have the same problem. Then i tried a usb isdn modem and everything works fine. So i know that the router is responsible for the problem and not apache but I am stuck.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
lrmooreCommented:
OK.. couple of suggestions:

router#clear ip nat trans *

ip nat inside source static tcp 10.10.10.2 80 interface Dialer 80
                                                                                   ^^ Should be Dialer1 80
!
access-list 102 deny tcp host 10.10.10.2 eq 80 any
access-list 102 permit ip 10.10.10.0 0.0.0.255 any
!

Also, make sure you are testing it from remote host...

0
 
piperakAuthor Commented:
Ok that did it, partly. I can access my webserver from the outside now but not from my own network. I need both because I am trying to use a web application, not just view a local webpage.So what I need is a way to force my router to allow me to view my  homepage when I use my website's address from my local network.
0
 
piperakAuthor Commented:
Well i found what was wrong with my network. When i got my domain name i asked my ISP to point my static ip to that domain name. They did it partly. When i do a forward lookup with did i get my domain name. But when i do a reverse lookup i get nothing. I asked them to complete the dns entry and my problems were solved.
0
 
DarthModCommented:
PAQed with points (125) refunded

DarthMod
Community Support Moderator
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now