minckle Posted April 17, 2008 Report Share Posted April 17, 2008 ok, I've got quite a complicated problem to explain but hopefully there'll be an easy solution.I've a vista pc which Im setting up as a web server and email server. It connects to the internet via a netgear wireless point connecting to a bt voyager v220 adsl router.Externally if i go to www.domainname.co.uk i get the live website being hosted by the vista pc (therefore I know the porting forwarding is working)but when on the vista pc if i go to the same website i get the admin panel for the bt voyager routerCan anyone explain whats going on and how to fix it??also, externally i can connect to the mail server using outlook, but internally i just get errorsAny help or advice wil be welcomed !! Quote Link to comment Share on other sites More sharing options...
homecomputeraid Posted April 18, 2008 Report Share Posted April 18, 2008 It sounds like your domain name resolves to the external IP address of your router. Bring up a command prompt (I'm not sure of the steps to do that in Vista) and type ping www.domainname.co.uk, of course replacing domainname with your actual domain, then press enter. This will resolve the IP address that web site uses. [edit]See if the address you get is the outside interface of your router.The router may not know how to handle it when you try accessing your web page from the Vista machine itself. The web page probably resolves to the outside interface of your router, but the request for it originates from its inside interface. A workaround would be to create a static Hosts entry for your web page on the Vista machine. I'm not sure where to find it in Vista, but the path to the file in Windows XP is: C:\WINDOWS\system32\drivers\etcYou would open the file in Notepad, and you'll see the following, or hopefully something similar for Vista:# Copyright (c) 1993-1999 Microsoft Corp.## This is a sample HOSTS file used by Microsoft TCP/IP for Windows.## This file contains the mappings of IP addresses to host names. Each# entry should be kept on an individual line. The IP address should# be placed in the first column followed by the corresponding host name.# The IP address and the host name should be separated by at least one# space.## Additionally, comments (such as these) may be inserted on individual# lines or following the machine name denoted by a '#' symbol.## For example:## 102.54.94.97 rhino.acme.com # source server# 38.25.63.10 x.acme.com # x client host127.0.0.1 localhostAfter the 127.0.0.1 line, put the following192.168.1.50 www.domainname.co.ukSubstituting 192.168.1.50 for the IP address on your Vista machine, and replacing domainname with the actual domain.Be aware, if you're not using a static IP address on the Vista machine, it could change from time to time. Given your setup though, you're probably using a static. Quote Link to comment Share on other sites More sharing options...
homecomputeraid Posted April 18, 2008 Report Share Posted April 18, 2008 Here's a link about changing the Hosts file in Vista to use with the above info:http://geekswithblogs.net/thibbard/archive...ileInVista.aspx Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.