How do I add my staging URL to cpanel ? -

WordPress hosting done right. done fast. done secure

GET STARTED
Menu

How do I add my staging URL to cpanel ?

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

define('WP_HOME','http://staging.wpdone.com.au');

define('WP_SITEURL','http://staging.wpdone.com.au');

what it does is this:

  • wordpress get installed, and assume www.wpdone.com.au, or wpdone.com.au
  • 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 www.wpdone.com.au (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!