• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Protect directories for 'host header' sites

B

brundle

Guest
I have a site setup in Plesk and the site has several additional domains setup via Host Headers in IIS.

We set it up this way so that there would not be an additional 10 sites setup in Plesk when all the domains do is point to the main website.

however, now when we add directory protection to the main site - it does not work when the other domains are used to browse to the site.

Any work arounds?

In Plesk 7, how is the authentication enforced when a Protected Directory is added?

Can the additonal host header domains be added to a list or somthing - maybe an .htaccess - like file?
 
.htaccess does not work with iss
you have set the hostheader names in the proberty field for this web.

start iis manger, open "your web" Properties dialog
open advanced and type in your hostheader names.


have you also examined the appropriate Prermission with the file explore in this directory (Sharing and Security)

c:\inetpub\www\vhosts\" your directory"
 
Yeah the perms are right - a username/password works when browsing to the domain of the main site - just not when browsing to a domain that exists in the host headers config in IIS for that site.
 
Back
Top