New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Accessing my forum from inside my LAN?


Post Reply New Thread Subscribe

 
Thread Tools
william_hunter

 
Member Since: Jul 16, 2007
Posts: 20
william_hunter is on a distinguished road

william_hunter is offline
Hi all, second post. Nicely designed forums, by the way.

Now, to my problem:

I have set up a forum host on a Linux box in my house, and it is working nicely for people outside my LAN, but I cannot use it from my MacBook Pro because every page I link to tries to send me to a domain outside my LAN and my hardware firewall (router) won't allow that. I know it is possible to redirect, but I have no idea how to do that on the Mac. On the Lin box it was a simple matter of adding a few lines to a file called hosts, but I see nothing like that on this machine. Most of my browsing is done from the MBP, so this is an issue for me. Anyone?
QUOTE Thanks
supergper

 
Member Since: Jul 08, 2007
Location: SLC, UT
Posts: 31
supergper is on a distinguished road
Mac Specs: Macbook Pro, 2.2Ghz, 4GB Memory, 120GB HDD, LCD Display, OS X Tiger

supergper is offline
hosts file for OS X is at /etc/hosts and works the same as any other hosts file.
QUOTE Thanks
william_hunter

 
Member Since: Jul 16, 2007
Posts: 20
william_hunter is on a distinguished road

william_hunter is offline
OK, thanks. I couldn't find it, but maybe thats because I don't really know how to navigate the Mac directory tree very well yet. I have used this laptop for work only (teacher) and never really delved into how it works. Maybe now is time to figure it out.
QUOTE Thanks
supergper

 
Member Since: Jul 08, 2007
Location: SLC, UT
Posts: 31
supergper is on a distinguished road
Mac Specs: Macbook Pro, 2.2Ghz, 4GB Memory, 120GB HDD, LCD Display, OS X Tiger

supergper is offline
Quote:
Originally Posted by william_hunter View Post
OK, thanks. I couldn't find it, but maybe thats because I don't really know how to navigate the Mac directory tree very well yet. I have used this laptop for work only (teacher) and never really delved into how it works. Maybe now is time to figure it out.
no problem, the easiest way to edit that file is open terminal and type "sudo nano /etc/hosts" (without the quotes of course). All the commands you'll need will be at the bottom of the page you're editting.
QUOTE Thanks
william_hunter

 
Member Since: Jul 16, 2007
Posts: 20
william_hunter is on a distinguished road

william_hunter is offline
OK, one more thing then..how do I edit that file? I don't seem to be allowed to. (edit: err...nevermind..)
QUOTE Thanks
supergper

 
Member Since: Jul 08, 2007
Location: SLC, UT
Posts: 31
supergper is on a distinguished road
Mac Specs: Macbook Pro, 2.2Ghz, 4GB Memory, 120GB HDD, LCD Display, OS X Tiger

supergper is offline
Quote:
Originally Posted by william_hunter View Post
OK, one more thing then..how do I edit that file? I don't seem to be allowed to. (edit: err...nevermind..)
yeah, the sudo allows you to edit it. You will need to enter your password though.
QUOTE Thanks
william_hunter

 
Member Since: Jul 16, 2007
Posts: 20
william_hunter is on a distinguished road

william_hunter is offline
Thanks for the help. Its good to go now. So simple, yet so complex to my simple mind
QUOTE Thanks

Post Reply New Thread Subscribe


« Design Critique | No audio »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting 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 Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Forum Courtesy MacAddikt News and Community Announcements 2 11-11-2009 02:50 PM
Forum Organization Update schweb News and Community Announcements 10 10-08-2004 06:30 PM
Amazon.com adds feature for searching inside books Murlyn Schweb's Lounge 0 10-23-2003 02:19 PM

All times are GMT -4. The time now is 06:03 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?