44 minutes ago, caffe663 said:What did I do wrong. How can I create a sub domain?
Read about hosting, read the help files of your hosting. Abilities of CPanel, Plesk etc.
Get some help, if you try to accomplish everything yourself you end up with nothing.