Can’t Create Additional Domain or Subdomain in Plesk? Here’s the Solution

Can’t Create Additional Domain or Subdomain in Plesk? Here’s the Solution

In Plesk server, you can create as many domains or subdomains as you want, provided you have selected the right hosting plan for it. But when creating additional domains, you may come across errors.

The error messages will look like the following:

Code:
Error: skelmng failed: Access is denied. (Error code 5) at CreateDirectory(C:\Inetpub\vhosts\example.com\sub.example.com\css) <...>

OR

Error: skelmng failed: Access is denied. (Error code 5) at retrieves attributes for file or directory C:\Inetpub\vhosts\example.com\sub.example.com <...>
You can see these error messages in the log file at C:\Program Files (x86)\Plesk\admin\logs\php_error.log

More often than not, the problem lies in the web-space security settings, which may have become corrupted.

How to Fix this Problem?

To solve this problem, here are the steps you need to follow:
  • Connect to the Plesk server using RDP
  • Open command prompt as an administrator
  • Execute the following command:
Code:
"%plesk_cli%\repair.exe" --repair-webspace-security -webspace-name mywebsite.com
  • Next, execute the following command:
Code:
"%plesk_cli%\repair.exe" --reconfigure-web-site -web-site-name mywebsite.com
The first command will repair the web-space security settings while the second will reconfigure it.

Now you should be able to create a new domain or subdomain without getting the error messages. For further assistance, contact the hosting support team.
Author
kumkumsharma
Views
2,877
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from kumkumsharma

Top