Please provide the exact error message being received. If your hostname is the same as the domain you are trying to create, you won't be able to create the account by that name. You cannot have the hostname the same as the main domain for a cPanel account. If the DNS entry already exists on the machine, you cannot create the domain either. Knowing the exact error will be beneficial to know what might be happening.