How to create a duplicate Drupal site on a subdomain?

Category: Drupal 7

JacobH
Asked:
2013-01-02 8:59 am EST

Hits: 1,851
I have developed my site using Drupal 7 and would like to create a subdomain named "stage" where I can copy the main site and test new development. I have found a resource explaining how to do this for a Wordpress site here:

http://www.inmotionhosting.com/support/website/wordpress/duplicate-wordpress-site-for-testing

Is there a similar resource for duplicating a Drupal site for test?

I have tried adapting the instructions for my site but have been unsuccessful in the setup (i.e. the site is not recognized). I followed the instructions for creating the new subdomain and copying files there, along with setting up a new database. One point of confusion I have is how to handle the settings.php file for the main site. Where to I copy that to for the subdomain site, and are the only changes required to update the database info in it?

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by User

0

jamesr
Staff
5,889 Points
2013-01-02 2:09 pm EST
Thank you four your questions JacobH!

I tried finding an article on this; however, you are correct, there is no article. So in response, I wrote a step by step article for you at the following link.

308: Making a duplicate Drupal test site


I you have any issues with the article please use the "Your Opinion Matters!" feedback form and we can edit it accordingly. Thanks for letting us know we needed the article.

Regards,
James R

You must login before you can post a comment about this answer.

Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!