Site Prompting for Username and Password When Accessing in Browser
Introduction
Sometimes, when accessing a website hosted in Plesk through a browser, a pop-up may appear asking for a username and password. This issue usually occurs when the required IIS user permissions are missing or incorrectly configured for the domain. To resolve this, the correct Plesk domain user and IIS users need to be added with proper permissions.
Prerequisites
- Plesk server administrator access
- Windows server access
- IIS Manager access
- Domain name hosted in Plesk
- Required Plesk domain user details
Issue
When accessing the website in a browser, it prompts for a username and password.
Cause
The required user permissions for the domain may be missing or incorrect. The following users should have proper permissions for the domain:
- Plesk Domain User
- Plesk IIS User
- Plesk IIS WP User
Steps to Fix the Issue
Step 1: Open IIS Manager
Log in to the Windows server and open IIS Manager.
Step 2: Select the Domain
From the left-side panel, expand Sites and select the affected domain name.
Step 3: Open Permissions
Right-click on the domain name and click Edit Permissions.
Step 4: Check Security Permissions
Go to the Security tab and verify whether the required users are already added.
The required users are:
Plesk Domain user - Username Plesk IIS user - IUSR_Username Plesk IIS WP user - IWPD_Username
Step 5: Add Missing Users
If any user is missing, add the user by following these steps:
- Click Add under the Security tab.
- In the Select Users or Groups window, click Advanced.
- Click Find Now.
- Select the required user, such as:
- Plesk Domain User
- Plesk IIS User
- Plesk IIS WP User
- Click OK.
- Apply the changes and click OK again.
Step 6: Verify the Website
After adding the required users, access the domain again in the browser and verify whether the username and password prompt is removed.
Conclusion
The browser username and password prompt usually occurs due to incorrect or missing IIS permissions for the domain. By adding the required Plesk domain user, IIS user, and IIS WP user with proper permissions, the website can be accessed normally without authentication prompts. After applying the permission changes, always verify the website in the browser to confirm that the issue is resolved.
