How do I add my staging URL to cpanel ? -

WordPress hosting done right. done fast. done secure


How do I add my staging URL to cpanel ?

cpanel is mostly concerned with domain names, like

So you first add your domain as a cpanel account.

Then you click on ‘sub domains’ on the main cpanel menu. (eg.

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:

  • wordpress get installed, and assume, or
  • you can actually change this site address from inside wordpress
  • or you can override it in wp-config.php – which is more definitive
  • when we push your site to production, we look for this, and change it to (or whatever your site is called).


By on January 11th, 2016 ,

Email or call, and we can arrange a time to chat call 0412927156 or CONTACT US TODAY!