cpanel is mostly concerned with domain names, like mydomain.com.au
So you first add your domain as a cpanel account.
Then you click on ‘sub domains’ on the main cpanel menu. (eg. staging.wpdone.com.au)
You enter ‘staging’ as the subdomain name.
cpanel will prompt a suggest ‘Document Root’, but you change it to ‘public_html’.
Then you can install wordpress – see a different FAQ.
I’ve been adding this to wp-config.php as well
what it does is this:
By Scott Farrell on January 11th, 2016 , Follow @scott_WordPress Tweet to @scott_WordPress