How can i set it so it asks for username and password before they access my site? I have a site that i want to remain private and only allow few members i select to enter. They should be able to enter using their USERNAME and PASSWORD with their IP range attached. How do i set this?
This can help: http://linuxhelp.blogspot.com/2006/02/password-protect-your-website-hosted.html I believe you can also set a password for a web folder from cpanel (if you have it) Here is a tutorial page: http://www.bonsairack.com/tutorials/cpanel.php Look for : Create a Password Protected Directory
you can also use your .htaccess file to password proect your site. Just do a Google search on .htaccess and you will find it.
I dont know if you can associate an ip with a specific password. This link should help about allowing only a few ip's and setting a password file. http://corz.org/serv/tricks/htaccess.php