InMotion Hosting Support Center

How do I create a testing site?

Category: Website Design

2013-07-21 1:14 am EST

Hits: 993
I have built my site in PHP and is live 6+ months. I am going to convert the site into a Drupal 7 site however, since it is getting hits I do not want to take it down. How do I create a dev site and later move it to production? If not possible, I can dev on my localhost.
***Also, does InMotion support Drush?

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

You must login before you can submit an answer.



40,387 Points
2013-07-22 1:19 pm EST
Hello Rich667,

Thanks for the questions!

In regards to the development site, if you have a separate domain name that you can use, then you can easily setup an add-on domain, and then create a website there. If you do not want to use an add-on domain, you can always setup a sub-domain under your primary domain and then use that as the development site.

In terms of moving the site, you would simply need to move the files into the main folder when you're ready to make the site live. You would have to make changes to the settings.php. We do not currently have a guide for this process, but it has been addressed in the Drupal forums here: Drupal Forums - moving Drupal Websites. There is a solution listed where a user moved the Drupal site from one folder to another. He made a backup of his database, exported it as a SQL file and then did a find and replace on the SQL file (which is text) replacing the old path with the new one.

As for DRUSH, it should be no problem to run on our server. I'm not seeing an special requirements. As per this article you may need to make a Drush specific, PHP.INI. You can easily use the default PHP.INI and copy it into the directory where you are installing your dev site.

If you have any further questions or require further assistance, please let us know.

Arnel C.

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!