Create a staging sub-domain that uses a seperate WP install
-
My main domain ‘www.mydomain.co.uk’ has WordPress multisite installed and is live with lots of content.
I have recently created a sub-domain ‘stage.mydomain.co.uk’ and can access this sub-domain which displayed a plain WordPress site with no content.
Im not sure if multisite is the correct way to create this staging environment because I want to be able to have 2 separate databases and code bases. So I can use GIT to roll out to the staging URL for testing, then roll to the live URL afterwards.
This is my file structure:
/public_html/ (main WordPress install)
—/stage/ (another install with staging settings)I notice with multisite that you need to point new sub-domains to the main root i.e /public_html/. So how can I point this to /public_html/stage/ instead?
- The topic ‘Create a staging sub-domain that uses a seperate WP install’ is closed to new replies.