• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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