You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

My own website says Website Temporarily Unavailable

When I try to view my own website from my MacBook Pro (Early 2011), I get a Website Temporarily Unavailable screen. Viewed from my phone or any other computer, it's up and running. My site is greenearthphotography.com, it's hosted on SiteGround and I use Chrome, though I get the same screen in Safari and Firefox.


I've done everything that I've found online. First I contacted SiteGround. They did what they could and suggested I contact Apple. I cleared the cache, the history, cleared the local DNS cache, rebooted the router. Nothing has helped.


Any suggestions are greatly appreciated.




MacBook Pro

Posted on Dec 5, 2018 7:58 PM

Reply
Question marked as Top-ranking reply

Posted on Dec 10, 2018 4:40 PM

There is no reason to be modifying your hosts data for this case.


I'd remove entries added there, and would revert to the default contents.


I'd also flush the cache or reboot, as I've sometimes had issues getting the contents of the hosts file reloaded, depending on the particular version of macOS involved.


Using hosts for this will mean you're back in the data every time the IP address changes. Which basically means you're going to get to discover anew why DNS was invented, if you should follow this path.


Your server IP address is already public information.


You'll need to use a text editor at the command line or one of a very few GUI editors, as the usual GUI editors will corrupt the hosts file content.


BDAqua: Accessing the host via IP address only works if the IP address is set up in the web server as an alias for the web site. The IP address will be entered into the web browser, that string will be passed to the web server via the HTTP or HTTPS connection, and that string will be used to select the web site for viewing. If there's no 46.66.65.192, you'll get whatever the web server is configured to use with no matching site. If you enter www.greenearthphotography.com or greenearthphotography.com into the web browser, then that text string will be passed along to the web server, and the web server will look for sites in its configuration, and one or both of those strings will cause the web server to render the web site that's been configured on the web server.


As for the IP address being secret? It's not. To translate from the domain name to the IP address, you can use a command line tool such as dig, or can use the Network Utility.app tool—⌘␠ (command space)—to launch Spotlight, enter Network Utility there to launch the tool. (The location of Network Utility has moved around over the years, and Spotlight is the easiest way to find and launch it irrespective of the macOS version in use.) Network Utility provides access to commands to view various sorts of network information, including the ability to translate a host name to an IP address, and to trace the route to the specified server.

Similar questions

26 replies

My own website says Website Temporarily Unavailable

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