| OS X - Operating System General OS operation information and support |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Jan 14, 2009
Posts: 2
![]() |
Hi, I am fairly new to Mac!
On my Windows machine, I can change the hosts file to add a URL of my own and point to localhost for my local development. Like point "mydomain" to 127.0.0.1 On Mac, I researched that I could do the same. But the problem is I can't find this /etc/hosts file. It's supposed to be under a folder called Private, but I can't find this folder at all. It must be hidden. How do I make it visible? Thanks! |
| QUOTE Thanks | |
![]() Member Since: May 22, 2005
Location: Closer than you think.
Posts: 2,074
![]() ![]() ![]() ![]() ![]() Mac Specs: Performa 6116 2GBSCSI 8MB OS 7.5.3
|
Open Terminal:
type sudo cp /etc/hosts /etc/hosts.backup then enter You'll be asked for the logged in users password. If there isn't one just hit enter. Next sudo pico /etc/hosts You will be dropped into the pico file editor. If you want to read up on the pico editor type man pico in the terminal window before you begin to see what it's functions and commands are. |
| QUOTE Thanks | |
![]() Member Since: May 22, 2005
Location: Closer than you think.
Posts: 2,074
![]() ![]() ![]() ![]() ![]() Mac Specs: Performa 6116 2GBSCSI 8MB OS 7.5.3
|
|
| 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 |
| ZFS To Become Default File System In Leopard | kaidomac | Apple Rumors and Reports | 21 | 06-26-2007 02:29 PM |
| Huge Anti-Ad HOSTS File slows down OSX | xpy | OS X - Operating System | 0 | 05-29-2007 02:10 PM |
| Windows 2003 File Server & Quark | kegwell | OS X - Operating System | 0 | 01-15-2007 02:35 PM |
| Unix Executable File problem | fender1100 | OS X - Apps and Games | 9 | 01-07-2007 06:20 AM |
| File icons not displaying properly | mrgee | OS X - Operating System | 7 | 09-10-2005 06:49 AM |
All times are GMT -4. The time now is 06:59 PM.
Powered by vBulletin