Hi friends! I have a shared hosting account with hostforlife.eu, and currently have maybe 6 or 7 drupal 6 sites installed there. Drupal 6 is installed in the public_html folder. I have a couple of Drupal 6 sites running in an multisite arrangement.
I would like to move most of the sites to drupal 7, but one or two cannot because of themes etc.Can someone point me to a document that lays out how to install drupal 6 and 7 in subfolders of public_html, or explain how it can be done?
I was told recently that you can't have both versions of drupal running multisite under public_html. So, I am willing to give up multisite. I don't know enough to be sure that this is so, but multisite may be more trouble than it's worth for the few sites I have.Is it true? Thanks it advance!
Comments
Need more details
This requires more details to give correct answer but still find details based on scenario :-
1. If your each drupal in multisite concept have different databases. Then you can use drupal 6 & 7 both in one shared hosting public_html folder.
Make sure that there are no common modules/ theme being used for your multi installation.
2. If you are using one database with prefix for each drupal instance then also above comment will apply and sure you have possibility to run drupal 6 & 7 in one location.
3. If you have only one database using contributed modules to share content and setting across your multiple sites then its not possible to have drupal 6 & 7 running together.
4. Last the basic case where you have all sites with different codebase and database in different folder under public_html, you can do any thing. only you need to take care the basic system requirement of drupal7 will be completed by your hosting service.
Hope you got the answer. If you need more corrective solution please share your architecture details of multisite design.
Thanks!
Thanks Pradeep for informative guide! I have never faced with such scenario before. Your solution for this problem seems to be good. I hope it will work well.
You can have Drupal 6 and Drupal 7 instances
Your shared hosting should give you a way to point a (sub)domain to a particular directory. So, if right now you've got all the Drupal 6 code sitting right under the public_html directory, you can just create a sub directory of public_html and call it something like drupal7. Then place the Drupal 7 code in that subdirectory and use your shared hosting configuration options to point your Drupal 7 domains to the public_html/drupal7 directory.
There is no need to give up multisite. You could run multisite for both Drupal 6 and Drupal 7 without a problem.
I've got my server on Digital Ocean and I'm doing this very thing, although I manage everything from the command line, including my vhost files for my Apache web server.