Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 1st, 2003, 03:35 PM
rknuppel rknuppel is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 8 rknuppel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to rknuppel Send a message via Yahoo to rknuppel
Can't Access Domain from local machine

I run a website using IIS (Advanced Server 2000) on my home machine. I also have 3 computers set up throughout my house. I have a domain name (ex: www.test.com) and I can access my website just fine from anywhere EXCEPT my 3 home machines. When I type in my URL (www.test.com) at home, it says "Page Cannot Be Found" or something like that. I have to browse to 192.168.1.2 (my local IP in my network) to display the website on my home computers.

My question is: How can I access my website using my domain name from my home computers. Anyone else have this problem?

Thanks,
Ryan

Reply With Quote
  #2  
Old March 1st, 2003, 03:41 PM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,344 jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 6 h 26 m 32 sec
Reputation Power: 787
Are your other machines connected to the internet? They should go outsite your LAN, then come back in if you use a FQDN like www.test.com.

You can add an entry in your hosts file (C:\WINNT\system32\drivers\etc\hosts) that points to your private IP 192.168.1.2 and then you should be able to access your local machine with http://test/.
__________________
# Jeremy

Explain your problem instead of asking how to do what you decided was the solution.

Reply With Quote
  #3  
Old March 2nd, 2003, 06:28 PM
Deal-a-Neil Deal-a-Neil is offline
whatUseek
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Northville, Michigan
Posts: 60 Deal-a-Neil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via ICQ to Deal-a-Neil
Yes, edit that hosts file so that it looks like this:

192.168.1.2 test.com
192.168.1.2 www.test.com

This has to be present on ALL of your home machines. This hosts file supercedes your DNS server lookups. Wow, this just inspired me to play some major pranks on the guys @ the office on Monday morning. Thanks.

Last edited by Deal-a-Neil : March 2nd, 2003 at 11:14 PM.

Reply With Quote
  #4  
Old March 2nd, 2003, 09:55 PM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,344 jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 6 h 26 m 32 sec
Reputation Power: 787
Quote:
Originally posted by Deal-a-Neil
Wow, this just inspired me want to play some major pranks on the guys @ the office on Monday morning. Thanks.
Ha! LOL That would be a good joke wouldn't it.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > Can't Access Domain from local machine


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway