Amit20 Posted October 15, 2012 Share Posted October 15, 2012 Hello everyone, I want to provide access to only those people to my website those who make entry into their hosts file. Can anyone explain me how to do this? Thank you! Quote Link to comment https://forums.phpfreaks.com/topic/269476-allow-only-host-entry-to-access-my-website/ Share on other sites More sharing options...
kicken Posted October 15, 2012 Share Posted October 15, 2012 Just tell them what IP and domain you want them to add to the hosts file. So if your site is running on IP 1.2.3.4 and you want to use the hostname my.super.site then you'd tell them to add to their hosts file: 1.2.3.4 my.super.site Quote Link to comment https://forums.phpfreaks.com/topic/269476-allow-only-host-entry-to-access-my-website/#findComment-1385258 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.