Hosting Sub-Domains with cPanel
Subdomains are effective in splitting up different kinds of content or creating another website under the same domain name if you can’t afford another. Some people offer free sub-domain hosting to host other people on their server. A sub-domain URL usually looks something like this (namehere.memorylast.net). This tutorial will teach you how to set up a sub-domain using cPanel.You’ll have to have a domain and cPanel for this. Please note that my cPanel may look a bit different from other people, I’m using cPanel 11.
1. Log into cPanel and find the section that says Domains

Click Subdomains
2. Now a page will come up. There’s a section like this :

Type in the name of your subdomain. If mine was namehere, it would be namehere.memorylast.net
And then set the path of your subdomain. Don’t make it the same as your main domain one.
After that, press Create and a success screen will come up
3. Now go back to your cPanel home page. And find the section Files
Click on FTP Accounts
4. A new page will come up. There will be a section near the top that tells you to create an FTP Account
After you’re done, press Create FTP Account. And it will say that your account has been created successfully, plus it will give you the FTP log-in information.
5. Now you should be able to log into the FTP with that account. And edit the files in the subdomain you just created.