My browsers (safari and chrome) continue to open an old version of a website. Even though I've cleared my browser history and cache.  Please help!  what else can I do.

My browsers (safari and Chrome) continue to open an old version of a website - even though I've cleared my browser history and cache.  It's essential I see the newly launched site - rather than the old ones.  It's strange it's happening in both browsers. 
Please help!

You, or someone using your computer, hacked the system to redirect certain URL's. The file modified is /etc/hosts.
The easiest way to fix the hosts file is to restore it from a backup that predates the modification, or to copy the unmodified file from another Mac. If you can't do that, then do as below. Please read this whole message before doing anything.
Back up all data. This is a simple procedure, but if you don't follow the instructions exactly, you could be left with an unbootable system. In that case, you'll have to restore from a backup or reinstall OS X.
If you have more than one user account, you must be logged in as an administrator.
Triple-click anywhere in the line below to select it:
open -a TextEdit /etc/hosts
Copy the selected text to the Clipboard (command-C).
Launch the Terminal application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
Paste into the Terminal window (command-V). A TextEdit window should open. At the top of the window, you should see this:
# Host Database
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
127.0.0.1                              localhost
255.255.255.255          broadcasthost
::1                                        localhost
fe80::1%lo0                    localhost
Below that, you'll see some other lines. There should be nothing above the first line "##". If you have any doubt about that, STOP and ask for guidance. Make sure you scroll all the way to the bottom of the document. Scroll bars are hidden by default until you actually start scrolling, so you may not realize that you’re not seeing the whole document.
If the contents of the TextEdit window are as described, close it, then enter the following command in the Terminal window in the same way as before (by copy and paste):
sudo sed -i~ '11,$d' /etc/hosts
This time, you'll be prompted for your login password, which won't be displayed when you type it. If you don’t have a login password, you’ll need to set one before you can run the command. You may get a one-time warning to be careful. Confirm. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. Quit Terminal.
That will fix the hosts file. There is now a copy of the old hosts file with the name "hosts~" in the same folder as "hosts". You can delete the copy if you wish. Don't delete the file named "hosts".

Similar Messages

Maybe you are looking for

  • I can't open Firefox because it crashes at startup even in Safe Mode. How can I fix this?

    Here is the Crash ID: bp-fb854508-a42d-4a50-98a6-a30d02130306 I updated to the latest version of Ff V19 is it? I am on WinXP with AVG (8.5.455) antivirus. Both are fully uptodate. In AVG I have disabled "Link Scanner" and "Resident Shield" in case th

  • Photo gallery works when when hosted on web, but not local viewing in IE6

    Hello all, I'm using iWeb to write a report. The deliverable will be viewed on IE6. (Disgusting!) I tried pointing it to http://local.ip.addr/website/ and it worked great (after enabling the active x plugins). Later to test the deliverable I put the

  • Editing a document's lettering

    Hi, I have several PDF's which consist unvisible content, e.g. sentences, words, drawings. Up to now I have been only able to edit a little with the help of the toolbox "editing the document's lettering". But there is more content being unvisble and

  • Build Problem in NWDI

    Hi SDN, I have developed an Webdynpro application in NWDI and i have created an external library DC  with all the dependent jars put in to that. I have build the external library DC with the public parts created. These public parts are referred in th

  • Adding an attachment from a ByteArrayOutputStream

    I have a ByteArrayOutputStream that I need to add to a message as an attachment. What is the best way to go about this?