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

my website won't work locally 1

Status
Not open for further replies.

feshangi

MIS
Nov 24, 2004
265
US
I’m running SBS 2003 Premium in the following setup:

Static IP/Internet -> Firewall -> Switch -> Server and Stations

With this box I’m hosting few internet domain names. These domain names have my Static IP address listed with their registrar as their DNS1 and DNS2. The problem I currently have is that I can’t access to these domain names via browser from my local network but they all are functional from outside. I looked over my Forwarders/Pointers settings under my DNS and didn’t find anything unusual.

Another thing I would like to mention is when I ping these websites from my local network it resolve my public address.

Please note that I only use one NIC with this system.

Any guidance will be highly appreciated.

Thanks,

Mike
 
how is your firewall set up?

ours is sim. our web server is set up and assigned a local ip, through the firewall we have the NAT set up (outside ip -to- inside ip) and the DNS is set to point at the outside ip. our fire wall will not let us look at the outside ip (will not let us look out and come right back in again) we must use the internal ip in the url while inside the firewall........

Life is not a journey to the grave with the intention
of arriving safely in a pretty and well preserved body,
but rather to skid in broadside, thoroughly used up,
totally worn out, and loudly proclaiming

--"WOW-- What a Ride!"
 
I would use the hosts file, located (if using win xp pro) at c:\windows\system32\drivers\etc

Open a command prompt from the start menu, then type 'Edit \windows\system32\drivers\etc\hosts press enter

The hosts file will open ready for editing, move the cursor to the line under where it shows:-

127.0.0.1 Localhost

Then type xxx.xxx.xxx.xxx website.name

If your website name is and your ip address is 145.59.63.2 then the hosts line would like this:-

127.0.0.1 Localhost
145.59.63.2
Press ctrl+x to save and exit, type exit to return to windows, then try your in internet explorer, the computer will look at the hosts file, then match the http request from your browser to the ip address.

I use it to test my website additions before putting the server online.
 
this is excellent. extactly what i was looking for.

thanks for the post.

mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top