Login to your cpanel and go to Domain page by click domain icon
Now click on Create A New Domain
now add domain *.yourdomain.com and set path to your script install path. if you install it in a subdomain than select that folder path in the document Root (File System Location)
Hit submit that’s all.
Note:: dns propagation take some time to reflect it can take upto 3hour to 74hours. to propagate properly