How to fix "this site is not reachable" on Mac?

I have a Wordpress site that is mapped to a domain (through Network Solutions) and it does not load on my computer. It loads on other computers on my network, but not my Mac, Capitan 10.11.5.

Help, please! This is the message:

This site is not reachable

shootthecritic.com refuses to connect.

Thank you!

You, or someone else using your computer, may have hacked the system to redirect requests on some servers. The modified file is/etc/hosts.

The best way to solve the hosts file is to restore from a backup prior to the change, or copy the file unmodified from another Mac. There is sometimes a copy unmodified with the name "hosts ~ orig" next to file hosts changed on the same Mac; If so, you can copy the contents of this file in the hosts file. Ask for advice if you need it.

If you can not do everything above, please see below.

Back up all data before proceeding.

If you have more than one user account, you must be logged in as an administrator.

Triple-click anywhere in the line below on this page to select this option:

open -e /etc/hosts

Copy the selected text in the Clipboard by pressing Control-C key combination.

Launch the Terminal application integrated in one of the following ways:

☞ Enter the first letters of his name in a Spotlight search. Select from the results (it should be at the top).

☞ In the Finder, select go utilities ▹ of menu bar or press the combination of keys shift-command-U. The application is in the folder that opens.

☞ Open LaunchPad and start typing the name.

Paste in the Terminal window by pressing Command + V. I tried these instructions only with the Safari browser. If you use another browser, you may need to press the return key after pasting.

Should open a TextEdit window. 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                              localhost255.255.255.255          broadcasthost::1                                        localhost

Below, you can see a few other lines. The first 9 lines should be exactly as before, except for differences in the empty space in the lines. Otherwise, you cannot use this procedure - STOP and ask for advice.

If the content of the TextEdit window is described and there are extra lines in the file, close the window, and then enter the following command in the Terminal window in the same way as before (by copy and paste):

sudo sed -i~ '10,$d' /etc/hosts

This time you will be prompted for your login password, which are not displayed when you type. Type carefully, and then press return. If you do not have a password, you will need to configure one before you can run the command. You can get a warning to be careful. Confirm. Leaving the Terminal.

If you see a message that your user name "is not in the sudoers file", then you have not logged as an administrator. Log in as one and start over.

Who will set the hosts file. There is now a copy of the old file hosts with the name ' guests ~ "in the same folder as"hosts ". You can remove the copy if you wish. Do not delete the file named "hosts".

Tags: Notebooks

Similar Questions

Maybe you are looking for