In newer versions of cPanel, the separate "Subdomains" icon has been merged into a unified Domains menu.
Log in to your cPanel account. Locate Domains: In the Domains section, click on the Domains icon. Create New: Click the Create A New Domain button. Enter Name: In the "Domain" text box, enter the full subdomain name you want (e.g., blog.yourdomain.com).
Set Document Root:Deselect the option "Share document root (/home/username/public_html) with 'domain.tld'".Enter the directory name where you want the files for this subdomain to be stored (e.g., /public_html/blog).
Submit: Click the Submit button to finalize.
Note: In some older cPanel interfaces, you may still see a dedicated Subdomains icon. If so, simply click it, enter your prefix (like "blog"), select the main domain from the dropdown, and click Create.