Are you unable to create an additional domain or a subdomain in Plesk? Our Support Engineers are here with an easy solution.
At Bobcares, we offer various solutions as a part of our Server Management Services. Let’s find out how the Support Team tackled this particular issue.
All About Unable to create an additional domain or a subdomain in Plesk
Are you having trouble creating an additional domain or subdomains in Plesk for the Windows server? You may have come across the following error:
Error: skelmng failed: Access is denied. (Error code 5) at CreateDirectory(C:\Inetpub\vhosts\example.com\sub.example.com\css) <...>
Error: skelmng failed: Access is denied. (Error code 5) at retrieves attributes for file or directory C:\Inetpub\vhosts\example.com\sub.example.com <...>
In some cases, you will also come across the “Access Denied” error while trying to change the PHP version in Plesk. Additionally, you will also notice the earlier mentioned errors in the log file.
C:\Program Files (x86)\Plesk\admin\logs\php_error.log
According to our Support Team, these errors are a result of corrupted web-space security settings.
Solution for creating an additional domain or a subdomain in Plesk
- First, connect via RDP to the Plesk Server.
- Next, open the command prompt as administrator.
- After that, run the following command to repair the web-space security settings:
"%plesk_cli%\repair.exe" --repair-webspace-security -webspace-name example.com
- Next, run the following command to reconfigure the web-space subscriptions security settings:
"%plesk_cli%\repair.exe" --reconfigure-web-site -web-site-name example.com
Remember to replace example.com with the affected subscription name.
- Finally, try creating an additional domain or subdomain again.
[In search of help? We are here at your service.]
At the end of the day, we understood how to create an additional domain or a subdomain in Plesk without running into errors. The Support Engineers at Bobcares pointed out an easy solution for us that resolved the issue.