I've previously worked on Prestashop and there I had the choice to set my site in offline/maintance mode and then edit one ore more IP addresses in order other people to view the sites but not the commmon users and stills no login require and no additional host file settings.
Thanks