If you want to hide your site from public view, you can enable the Maintenance page.
With the maintenance page enabled, you can access your Admin Area through this link: http://[your_site_URL]/sign-in/1)
To turn it off/on, you should go to Admin area > Pages > Special Pages > Maintenance Page and check/uncheck the Disable your site and put up the maintenance page box.