Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Access local web site inside a firewall

Access local web site inside a firewall
Thread Tools
Fresh-Faced Recruit
Join Date: Jan 2003
Status: Offline
Reply With Quote
Jan 30, 2003, 01:42 PM
 
Consider: Our company web site is behind a firewall. The inside firewall DNS is different from the one that's used from the outside. Under OS 9, we could access the site by making a change to the host file and envoke it through the TCP/IP control panel.

I can't see the site under OS X.

In OS X, I added the host to my local NetInfo database, but it isn't fixing the problem. (ref: AppleCare Knowledge Base article ID: 88158)

Workaround: Use the Classic browser, but 10.2 will not let me access to the TCP/IP control panel.

Any help would be much appreciated.
     
Professional Poster
Join Date: Oct 1999
Location: :ИOITAↃO⅃
Status: Offline
Reply With Quote
Jan 30, 2003, 02:03 PM
 
1. Can you access the site by typing in the IP address directly?
If not, you have bigger problems.

2. Try adding the server's IP address and name to the /etc/hosts file.
(Do this in the terminal with 'sudo pico /etc/hosts', or with BBEdit).

Ignore what the file says about being used only in single-user mode -- that was true in 10.1, but the file is used in 10.2.

(If the file does not seem to be being used, make sure 'BSD Configuration Files' is enabled in the Directory Access application, in the Utilities folder).
     
DaveT  (op)
Fresh-Faced Recruit
Join Date: Jan 2003
Status: Offline
Reply With Quote
Jan 30, 2003, 02:50 PM
 
Thanks Mithras. #2 did the trick! I knew it was in there somewhere. It seems like it should be more readily available than that though.

You've save us much agonizing!

Dave
     
Professional Poster
Join Date: Oct 1999
Location: :ИOITAↃO⅃
Status: Offline
Reply With Quote
Jan 30, 2003, 03:38 PM
 
No problem.

As for "more readily available", it's just a text file. It's in the standard location that generations of internet-enabled Unix computers have used. You can make additions to it with any text editor. I don't think there's an OS out there that does it any differently.

cheers,
aaron
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:21 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2