To resolve the permission issues when creating subdomains on the server with the same domain as the server's hostname, log in to WHM, go to "Home » Server Configuration » Tweak Settings", and select the option "Allow users to park subdomains of the server's hostname".