|
||||||||
|
|
#1
|
|
Hi all, I have the next configuration at home
1.- 192.0.0.1 : My Router (it has also an external fix IP 80.25.31.100) 2.- 192.0.0.2 : My Laptop 3.- 192.0.0.3 : WebServer (I want to put here my personal website) all of the are conected to the router, and this is conected to my ISP I have configurated an external DNS like this www.mywebsite.com => 80.25.31.100 (the ip of my router) I have also configurated the following in my Route, :I have create a NAT entry to map : 80.25.31.100 port 80 to my 192.0.0.3 (WebServer) Everything works fine, and outside my network using a browser I can browse my site http://www.mysite.com or http://80.25.31.100 THE PROBLEM is that if I use my laptop (inside network), when I try to browse http://80.25.31.100 (or http://www.mywebsite.com), I go directly to the administration page of my router. (I mean is the same as if I put http:192.0.0.1) and I CAN NOT browser my own web site. How can I avoid this? I would like to surf my site, the same way that the people surf outside my network. I Know that "How to Config" depends on the my router model, But will help me a lot if someone gives me some tips, what to do, where to config, Create a new NAT rule.... Thanks a lot Alberto albertoiriarte@gmail.com |
|
#2
|
|||
|
|||
|
Inside your own network it is http://192.0.0.3 . Hope this helps.
Bruce <(E-Mail Removed)> wrote in message news:(E-Mail Removed) ups.com... > Hi all, I have the next configuration at home > > 1.- 192.0.0.1 : My Router (it has also an external fix IP > 80.25.31.100) > 2.- 192.0.0.2 : My Laptop > 3.- 192.0.0.3 : WebServer (I want to put here my personal website) > > all of the are conected to the router, and this is conected to my ISP > > I have configurated an external DNS like this www.mywebsite.com => > 80.25.31.100 (the ip of my router) > > I have also configurated the following in my Route, :I have create a > NAT entry to map : > 80.25.31.100 port 80 to my 192.0.0.3 (WebServer) > > Everything works fine, and outside my network using a browser I can > browse my site > http://www.mysite.com or http://80.25.31.100 > > THE PROBLEM is that if I use my laptop (inside network), when I try to > browse http://80.25.31.100 (or http://www.mywebsite.com), I go directly > to the administration page of my router. (I mean is the same as if I > put http:192.0.0.1) and I CAN NOT browser my own web site. > > How can I avoid this? I would like to surf my site, the same way that > the people surf outside my network. > > I Know that "How to Config" depends on the my router model, But will > help me a lot if someone gives me some tips, what to do, where to > config, Create a new NAT rule.... > > > Thanks a lot > > Alberto > |
|
#3
|
|||
|
|||
|
Bruce wrote: > Inside your own network it is http://192.0.0.3 . Hope this helps. > > Bruce > > > <(E-Mail Removed)> wrote in message > news:(E-Mail Removed) ups.com... > > Hi all, I have the next configuration at home > > > > 1.- 192.0.0.1 : My Router (it has also an external fix IP > > 80.25.31.100) > > 2.- 192.0.0.2 : My Laptop > > 3.- 192.0.0.3 : WebServer (I want to put here my personal website) > > > > all of the are conected to the router, and this is conected to my ISP > > > > I have configurated an external DNS like this www.mywebsite.com => > > 80.25.31.100 (the ip of my router) > > > > I have also configurated the following in my Route, :I have create a > > NAT entry to map : > > 80.25.31.100 port 80 to my 192.0.0.3 (WebServer) > > > > Everything works fine, and outside my network using a browser I can > > browse my site > > http://www.mysite.com or http://80.25.31.100 > > > > THE PROBLEM is that if I use my laptop (inside network), when I try to > > browse http://80.25.31.100 (or http://www.mywebsite.com), I go directly > > to the administration page of my router. (I mean is the same as if I > > put http:192.0.0.1) and I CAN NOT browser my own web site. > > > > How can I avoid this? I would like to surf my site, the same way that > > the people surf outside my network. > > > > I Know that "How to Config" depends on the my router model, But will > > help me a lot if someone gives me some tips, what to do, where to > > config, Create a new NAT rule.... > > > > > > Thanks a lot > > > > Alberto > > Thanks Bruce, I agree with you, I can browser my site typing http://192.0.0.3 , but that is not the best solution. I need to browse my site using the domain name "www.mysite.com", because if I browse with IP, it doesn´t work (some links are harded code with the domain name, some component have a license that only works if I surf using the domain name..). Well, the question is that I woukd like (need) to surf my site like this www.mysite.com I think that if i put in my "host." file (i am using XP) an entry like this 192.0.0.3 www.mysite.com it works the way I need. But last question,.., isn´t there a way to config this in the router? any help would be appreciated Thanks Alberto |
|
#4
|
|||
|
|||
|
On 22 Sep 2006 07:57:49 -0700, "Gordowey" <(E-Mail Removed)>
wrote: > >I think that if i put in my "host." file (i am using XP) an entry like >this > >192.0.0.3 www.mysite.com > >it works the way I need. OK, if it works, you've solved your problem > >But last question,.., isn´t there a way to config this in the router? It isn't a router problem, it is a DNS problem. You have no DNS of your own, so you must use the HOST file. |
|
#5
|
|||
|
|||
|
PeterD wrote: > On 22 Sep 2006 07:57:49 -0700, "Gordowey" <(E-Mail Removed)> > wrote: > > > > > >I think that if i put in my "host." file (i am using XP) an entry like > >this > > > >192.0.0.3 www.mysite.com > > > >it works the way I need. > > OK, if it works, you've solved your problem > > > > >But last question,.., isn´t there a way to config this in the router? > > It isn't a router problem, it is a DNS problem. You have no DNS of > your own, so you must use the HOST file. ok I understand, thanks ! |
|
#6
|
|||
|
|||
|
Beware that, because you have a laptop, you need to change your host file
each time you connect to the internet somewhere else then from home. If you would connect from, for example, an internet cafe using your own laptop, then it would also connect to 192.0.0.3 (based on the host file), which will clearly not work from that location. I know that there are routers that actually do support it. Check whether you can configure the router to show the configuration pages on a different port. When you connect to it now it's HTTP on port 80 (the routers internal web server), the same port you actually want forwarded to your web server. So if you can configure the router to use a different port than 80, it might then actually start forwarding port 80 to your webserver. If this doesn't work, the only solution (beside the host file) is to run your own FTP server (which is quite a hassle) grtz Tieske "Gordowey" <(E-Mail Removed)> wrote in message news:(E-Mail Removed) oups.com... PeterD wrote: > On 22 Sep 2006 07:57:49 -0700, "Gordowey" <(E-Mail Removed)> > wrote: > > > > > >I think that if i put in my "host." file (i am using XP) an entry like > >this > > > >192.0.0.3 www.mysite.com > > > >it works the way I need. > > OK, if it works, you've solved your problem > > > > >But last question,.., isn´t there a way to config this in the router? > > It isn't a router problem, it is a DNS problem. You have no DNS of > your own, so you must use the HOST file. ok I understand, thanks ! |
|
#7
|
|||
|
|||
|
What router do you have? Is there an option on any of the router config
pages called "allow loopback" connections, or something similar? On some routers you can activate a feature where if you're on your lan your router can make it seem like you're accessing your network from the "outside" (WAN) port, and then you could possibly use www.yoursite.com and get to your page while at home. "Tieske" <(E-Mail Removed)> wrote in message news:451c3b9d$0$66091$(E-Mail Removed)... > Beware that, because you have a laptop, you need to change your host file > each time you connect to the internet somewhere else then from home. > If you would connect from, for example, an internet cafe using your own > laptop, then it would also connect to 192.0.0.3 (based on the host file), > which will clearly not work from that location. > > I know that there are routers that actually do support it. Check whether > you can configure the router to show the configuration pages on a > different port. When you connect to it now it's HTTP on port 80 (the > routers internal web server), the same port you actually want forwarded to > your web server. So if you can configure the router to use a different > port than 80, it might then actually start forwarding port 80 to your > webserver. > > If this doesn't work, the only solution (beside the host file) is to run > your own FTP server (which is quite a hassle) > > grtz > Tieske > > "Gordowey" <(E-Mail Removed)> wrote in message > news:(E-Mail Removed) oups.com... > > PeterD wrote: >> On 22 Sep 2006 07:57:49 -0700, "Gordowey" <(E-Mail Removed)> >> wrote: >> >> >> > >> >I think that if i put in my "host." file (i am using XP) an entry like >> >this >> > >> >192.0.0.3 www.mysite.com >> > >> >it works the way I need. >> >> OK, if it works, you've solved your problem >> >> > >> >But last question,.., isn´t there a way to config this in the router? >> >> It isn't a router problem, it is a DNS problem. You have no DNS of >> your own, so you must use the HOST file. > > > > ok I understand, thanks ! > > |
![]() |
| Tags |
| questionneewbie, simple |
| Thread Tools | |
| Display Modes | |
|
|