 DomZ
join:2003-08-03 Saint-Laurent, QC
| Speedstream 6300 forwarding problems
Hi, I saw a similar post with this problem and I was wondering if anybody had such problems.
I have a webserver setup at 192.168.2.10 with static ip and the port forwarding in the advanced tab of the router, and that webserver is also setup in the DMZ.
I can access the webserver fine from the outside, but when i'm in my lan, everytime i type www.mysite.com i get directed to the routers web interface at 192.168.2.1
Is there a way that when i type www.mysite.com or access my WAN IP directly from my LAN i don't fall in router's web interface? |
|
  Glen1 These Are The Good Ol' Days. Premium,MVM join:2002-05-24 GTA Canada 1 edit | This is normal because you are on the "inside" of the Lan and not coming from the Wan side...type in the local address on the Lan to access it...192.168.2.10:80
edit: added the port -- My Canada includes Quebec. |
|
 DomZ
join:2003-08-03 Saint-Laurent, QC
| reply to DomZ Yea, indeed, so basically even when I try accessing the webserver directly considering that the siteRootUrl (using IIS+ASP.net) is set to the www.mysite.com accessing 192.168.2.10(:80), when loading stuff it looks to load them from www.mysite.com which resolves to the router... how do you fix that?
Can't change the siteRootUrl to 192.168.2.10... what would happen to the external connections coming through? Any idea..
Note: this is for a client of mine really... i'm trying to get ideas without playing too much with their setup..
Funny though cause any other routers i've touched/played with never had that problem... |
|
  Doctor Olds I Need A Remedy For What's Ailing Me. Premium,VIP join:2001-04-19 1970 442 W30 clubs:
| reply to DomZ said by DomZ :Hi, I saw a similar post with this problem and I was wondering if anybody had such problems. I can access the webserver fine from the outside, but when i'm in my lan, everytime i type www.mysite.com i get directed to the routers web interface at 192.168.2.1 Is there a way that when i type www.mysite.com or access my WAN IP directly from my LAN i don't fall in router's web interface? No. What you are seeing is normal.
»Efficient Networks Forum FAQ »I'm trying to run a Server and I get the Router page instead of my Server? -- Whats the point of owning a supercar if you cant scare yourself stupid from time to time? |
|
  Doctor Olds I Need A Remedy For What's Ailing Me. Premium,VIP join:2001-04-19 1970 442 W30 clubs:
| reply to DomZ said by DomZ :Funny though cause any other routers i've touched/played with never had that problem... How many of those were ADSL Modems also? The Speedstreams are two devices in one (ADSL Modem + Wireless Router). -- Whats the point of owning a supercar if you cant scare yourself stupid from time to time? |
|
 DomZ
join:2003-08-03 Saint-Laurent, QC
2 edits | reply to DomZ How many? yea I guess none... That's true I never thought about it that way.
The fact is that even when I access the webserver directly, it still asks for the username and password of the router.
I even added the mysite.com to the HOSTS file and even that it still asks me for the username and password of the router... So basically the only way you're saying is to use a proxy OR to make the modem a bridge and add like a router on top?
Edit: a router of the type linksys, dlink, etc Also I guess if there's anything on the webserver pointing to mysite.com it will do the same thing? is there any way I could bypass that? |
|
  Doctor Olds I Need A Remedy For What's Ailing Me. Premium,VIP join:2001-04-19 1970 442 W30 clubs:
| WAN and LAN are two interfaces on one device. From the LAN, loopback through the WAN is blocked. The FAQ explains this.
If you added the correct change to your "HOSTS" file, and it didn't work then you chose the wrong file or added an extension to it in error so it is HOSTS.txt or HOSTS.doc or something else is not right.
Basically, the FAQ is the answer.
I don't know what you are not understanding so it makes giving an answer impossible, but there is no bypassing blocked loopback at all. Nothing on your web server should be pointing to Public IPs or FQDNs. -- Whats the point of owning a supercar if you cant scare yourself stupid from time to time? |
|
 DomZ
join:2003-08-03 Saint-Laurent, QC
| reply to DomZ Thanks Doctor Olds Yea, i added the correct change to the HOSTS file and mysite.com does resolve to 192.168.2.10 however, for some odd reason when accessing the site, it still asks for the username and password of the router...
So i will use a proxy, no other choice |
|
  Doctor Olds I Need A Remedy For What's Ailing Me. Premium,VIP join:2001-04-19 1970 442 W30 clubs:
| said by DomZ :Thanks Doctor Olds Yea, i added the correct change to the HOSTS file and mysite.com does resolve to 192.168.2.10 however, for some odd reason when accessing the site, it still asks for the username and password of the router... So i will use a proxy, no other choice Then your HOSTS is not working.
Typing 192.168.2.10 is what the HOSTS file is doing when you type your FQDM if it was working. -- Whats the point of owning a supercar if you cant scare yourself stupid from time to time? |
|
 DomZ
join:2003-08-03 Saint-Laurent, QC
1 edit | said by Doctor Olds :Then your HOSTS is not working. Typing 192.168.2.10 is what the HOSTS file is doing when you type your FQDM if it was working. Then im left confused... isn't the HOSTS file suppose to resolve to what you want it to resolve? if I put in the hosts file the line 192.168.2.10 mysite.com and ping mysite.com resolves to 192.168.2.10, how is it not working?
Edit: Got it fixed, added "www." in front of mysite.com
Im still puzzled to understand why in the host file mysite.com alone wouldn't do the job...
thanks everyone for your help |
|
  Doctor Olds I Need A Remedy For What's Ailing Me. Premium,VIP join:2001-04-19 1970 442 W30 clubs:
| reply to DomZ You said,
quote: I even added the mysite.com to the HOSTS file and even that it still asks me for the username and password of the router...
That means it is not working.
If it were working;
typing 192.168.2.10 and typing mysite.com
Would act exactly the same with no Username/Password prompts.
Also you should chose one or the other, but not both DMZ and Port Forwarding.
quote: I have a webserver setup at 192.168.2.10 with static ip and the port forwarding in the advanced tab of the router, and that webserver is also setup in the DMZ.
-- Whats the point of owning a supercar if you cant scare yourself stupid from time to time? |
|
 DomZ
join:2003-08-03 Saint-Laurent, QC
| Doctor Olds, As I stated in my last post I had added 192.168.2.10 mysite.com to the HOSTS file yet when i did access mysite.com it prompted me for the username/password
however, i modified the HOSTS file and instead of mysite.com i had www.mysite.com, i.e 192.168.2.10 www.mysite.com
and from that point onward, no problems...
the reason behind that... out of my idea... |
|