I'm trying to create a new subdomain (e.g., api-test.domain.com) using cPanel, but I keep getting this error:
Error: (XID 6k7jjw) The system failed to create the directory “” because of an error:
Here's what I've done:
- I'm using the cPanel web UI (and I also tried using the API).
- The directory is set to /home/user/public_html/api-test.domain.com
- I made sure the domain field is filled correctly.
- I also tried letting cPanel auto-generate the directory, but the error still appears.
ls -ld /home/user/public_html– it could just be a permissions thing.