How to access a aprticular staging web address?

Hello

I'm trying to access a particular address so I can view a staging web site (as opposed to our olive web site) in a browser from home...my boss has given me the 10 digit (ie, 11.11.111.111) address plus the www.ekekekek.com site...Now I need to know how to add this line to something so I can access this staging site in a browser.

He wrote the following..."(MAC Users need to modify their /etc/hosts file): Use a simple text editor to add the line and then save the file. This will direct requests to the "www.ekekekek.com" URL to the web server and allow access the staging web site."

So where do I find this /etc hosts file? And/or how do I do this? I'm mostly a designer NOT a techy.

Thanks for any help

KB

powerbook G4, Mac OS X (10.4.8), FCP 5.2, DVD SP 4, DW/FLASH 8

Posted on Nov 28, 2006 1:47 PM

Reply
3 replies

Nov 28, 2006 5:35 PM in response to Kent Beeson2

>So where do I find this /etc hosts file? And/or how do I do this? I'm mostly a designer NOT a techy.

/etc/hosts is the file you need to edit. However, you cannot normally see this in the Finder since the Finder hides the /etc/ directory by default.

The other issue is that even if you could see it, it's owned by root, so you wouldn't normally be able to edit it anyway.

Provided you're an admin on your system the easiest way is to open /Applications/Utilities/Terminal.app and run the command:

<pre class=command>sudo echo "11.11.111.111 www.ekekekek.com" >> /etc/hosts</pre>

exactly as written (changing the IP address if you need to). This command uses sudo to elevate your privileges. You'll be asked to authenticate by typing in your password (which won't be visible), then it'll run the 'echo' command which simply prints whatever's within the quotes and appends it to the file /etc/hosts.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to access a aprticular staging web address?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.