| OS X - Operating System General OS operation information and support |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Sep 30, 2004
Posts: 3,378
![]() ![]() ![]() ![]() |
For those that don't know about the Window HOSTS file, it allows you to set the IP address that goes with a host name. For example the IP address for the host name mac-forums.com is 69.20.37.125. So if you didn't want your computer to be able to access mac-forums you could redirect that host name to go to some other IP, like 0.0.0.0 which would lead it no where. Anyone know how to do that in OS X?
|
| QUOTE Thanks | |
|
Inactive Staff
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,591
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi
|
Run the terminal application and execute the following line: sudo find / -name hosts -exec ls -l {} \; The above should give you the full path (location) of the host file. Life isn't about waiting for the storm to pass, It's about learning to dance in the rain! |
||||
| QUOTE Thanks | |||||
![]() Member Since: Jun 11, 2003
Location: Mount Vernon, WA
Posts: 4,905
![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2
|
Yeah it's found in /etc/hosts or /private/etc/hosts they both point to the same file.
---> Join the Mac-Forums Folding team: use 37954 as your team number.View Mac-Forums Folding team statistics (More Info) Don't forget to use the User Reputation System |
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Burn .dmg file to CD on Windows, use on Mac | hollerz1 | Running Windows (or anything else) on your Mac | 4 | 01-28-2010 03:22 PM |
| Can you guys open this site? | Desolate One | OS X - Apps and Games | 13 | 04-29-2005 01:23 PM |
| file sharing with windows | carlos8126 | OS X - Operating System | 0 | 10-19-2004 11:18 PM |
| Windows 2003 File Sharing | darvay1 | OS X - Operating System | 0 | 09-08-2004 09:43 AM |
| Delay file access from windows PC | Mac2Serve | Other Hardware and Peripherals | 0 | 08-12-2004 09:31 PM |
All times are GMT -4. The time now is 07:23 AM.
Powered by vBulletin