InMotion Hosting Support Center

How to create a duplicate Drupal site on a subdomain?

Category: Drupal 7

2013-01-02 8:59 am EST

Hits: 3,778
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:

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


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.
<a href="" target="_blank">
308: Making a duplicate Drupal test site</a>

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.

James R

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

Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Social Media Login

Social Login Joomla

Need more Help?


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:
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!