InMotion Hosting Support Center

Drupal 7 - development versus live site

Category: Drupal 7

adventuresniffer
Asked:
2016-03-08 5:38 pm EST

Hits: 121
My domain is www.mydomain.com, I installed and am developing at www.mydomain.com/beta. When my site is ready to go live, how do I do that? Do I copy all of my files up one level? Or can I somehow have mydomain.com point to www.mydomain.com/beta? I prefer for users not to see the /beta in the URL address.

thanks! Amy

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

You must login before you can submit an answer.

I have a Drupal domain, we'll call it mydomain. I created a subdomain, test.mydomain. Now, I'd like to set up the domain to duplicate the test.mydomain. I'm using Drupal 7 plus Opigno software. I copied all of the files from public_html/test to public_html. I also exported the test database and imported it into the original database after deleting all former content, and updated the settings files. Both sites broke.
The problem was that I had duplicate Drupal modules and possibly other duplicated files, and Drupal doesn't like that. Fortunately, I found instructions for doing a registry rebuild and followed them, after I had deleted duplicate folders from the public_html directory. Now the test site works again. On the main site, I get the error message, "Fatal error: Call to undefined function node_load() in /home/consci41/public_html/includes/menu.inc on line 603".
Eventually I need the main site to mirror the test site, but I don't know which files I need to duplicate. Perhaps I need to move most of the files from the public_html/test to public_html, but for obvious reasons I'm anxious about doing that. Advice?
patoregon
15 Points
2016-08-13 06:27 pm EST

OTHER ANSWERS

0

christopherm
Staff
11,130 Points
2016-03-08 6:14 pm EST
Hello Amy,

Thank you for contacting us about going live with Drupal site. There are many different ways to do that. In theory, after you are done with your development phase you can move the files, update the database, and edit the settings.php file. However, for a guided walk-through I recommend our Drupal Test Site guide, which goes into more detail.

Best,
Christopher M.

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

Thank you! Going forward I will follow the steps in the guide. Since I have already begun development I will attempt to move the files and other steps as you suggest.
adventuresniffer
14 Points
2016-03-12 2:25 pm EST
Like this Question?

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

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