How can I password protect an entire Website?

Asked by:
DCadmin
Time:
2011-08-17 12:35 am
Category:
How To
Hits:
2,849
Is it possible to password protect an entire site? So users have to login in order to view the site and its contents?

Thanks

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by Web Hosting Hub staff

0

bradm
2011-08-17 1:02 am
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

You must login before you can post a comment about this answer.

Like this Question?

Have a Question?

If you need some help, submit your question to our Community! We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)

Recent Questions

  1. how to make new website with single account.
  2. Internal Server Error
  3. Add a note field to order page in Prestashop 1.5

Support 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.