Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

is it a router issue / configuration ? 1

Status
Not open for further replies.

maximos

Technical User
Sep 27, 2002
109
CA
Greeting all,
I have a weired problem, here is the scenario:
- i have a router with firewall enabled, Port 80 is open.
- I'm hosting 2 web sites from a dsl connection (i have a static ip) which works perfect if you try to access it from any where (global) , but when i try to access the web from any local computer, the page doesn't come on(page can't be displayed) . Even if i type the ip address in the browswer, If i ping the web, it replies with the correct ip.
- Also same problem occures when i'm checking or sending my email from a local machine, (using my global ip address or using my name server (eg mail.mydomain.com)

- I'm using an externel DNS server

Here is another thing i changed the router (from compaq Ipaq to Dlink 704) and the Dlink router works no problem, but using the compaq router, give me the above problem.

I doupt it is a DNS problem , there must be something about the router, but i really give up, and don't know how i could access the web locally,

Any help or resources will be greatly appreciated,

Thanks for any input or ideas,
Max
 
Some routers just cannot perform a loopback connection.
(Windows users) can put the domain name entry into the local machines' host file against the LAN IP address.

e.g.
mydomain.com 192.168.0.5

<marc> i wonder what will happen if i press this...[pc][ul][li]please give feedback on what works / what doesn't[/li][li]need some help? how to get a better answer: faq581-3339[/li][/ul]
 
sorry for my ignoracy,
by putting the domain name in the local machine's host file is that in the IE or somewhere else, (how do you enter the domain name in the local machine's host file, or any resources on that ? )


i'm running windows xp , win98 and win2000 server

thanks in advance,

Max
 
your hosts file is normally found on

c:\winnt\system32\drivers\etc\hosts. (note - hosts. : no extension!)
or c:\windows\hosts.

open this up with a text editor - you'll probably see an entry saying
[tt]
127.0.0.1 localhost
[/tt]
add a new entry[tt]
192.168.0.3 www.domainname.com
[/tt]

this is basically saying &quot;anything connecting to connect to IP address 192.168.0.3&quot; - enter the LAN IP address of your server.

<marc> i wonder what will happen if i press this...[pc][ul][li]please give feedback on what works / what doesn't[/li][li]need some help? how to get a better answer: faq581-3339[/li][/ul]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top