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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can not veiw my webpage using my domain name locally.

Status
Not open for further replies.

johnfaniyi

Programmer
May 6, 2003
7
0
0
US
Can someone please help me. The problem that I am having is that I registered a domain name through a DNS, I am hosting the page though. I paid for URL forwarding under my DNS to allow the URL of the page I am hosting to point to the domain name I bought. This is the problem. I have two computers and they both share internet acess through a router, so I have a WAN IP (from my ISP) and two LAN IPs that the router assinged my computers via the router's DHCP server. Anyway, the problem is that when I entering in the domain name from anywhere other than my house, the correct website appears, but when I enter in my domain name and test the domain name locally, it doesn't work, its as if the web page for that domain name doesn't exist but the domain name works everywhere else. I tested the page locally using the URL as opposed to the domain name, and it works properly. When I asked around, I was told that I needed to edit the host file, but when i did that and I tested the page locally using my domain name, instead of seeing the corresponding page, I saw the home page of the web server that I am running (Apache Tomcat). Does anyone know why this is so? Is there a solution that will allow me to be able to view my webpage through my domain name locally.

By the way the computer I am using is running Win ME.

if someone can help me out with this problem I would really appreciate it.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top