How can I password protect an entire Website?

Asked by:
DCadmin / 5 Points
Time:
2011-08-17 3:35 am EST
Category:
How To
Hits:
6,271
Is it possible to password protect an entire site? So users have to login in order to view the site and its contents?

Thanks

To ask this user for more information, please first login.

To submit an answer, please login.

Best answer chosen by Web Hosting Hub staff

0

bradm
Staff
1,846 Points
2011-08-17 4:02 am EST
Hi DCadmin,

Yes, it is possible to password protect an entire website!

Password Protecting your Main Domain
Your website files are within your public_html folder, so you'll want to password protect the public_html directory itself.

Password Protecting an Addon Domain
Addon domains are generally located in public_html/domain.com. To password protect an addon domain, you'll need to password protect the "domain.com" folder.

How do I Password Protect a Directory?
To password protect a directory, you'll use the "Password Protect a Directory" feature within cPanel. For more help with doing this, please see:
How to Password Protect a Directory

I hope this helps! Be sure to let us know if you have any further questions.

Thanks,

- Brad

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}