I have a single site D6.8 setup on my local WAMP and ready to migrate to a hosting server using LAMP, my problem is I would like to change the configuration to multisite, I've installed D6.9 on my hosting server and did the following changes:
- created 2 subfolders under /sites/ (/sites/domain1 and /sites/domain2 and removed the default folder as suggested)
- uploaded my single site .css and graphics file into /site/domain1 (domain2 not ready yet)
the configuration on my hosting server is:
- cPanel with Apache, MySQL and PHP already installed
- one single D6 core for multisite
- each site has its own db
So here are my questions:
- is there any tool to migrate the nodes I've created on my local Drupal?
- which configuration files I have to change due to the directory change?
- what's the procedure to backup my my local db then restore it on the host (the host is using cPanel and I'm not an expert in SQL, sorry, and to make things worse, I've also changed the db name :-(
- I'm running a single Drupal core for this multisite each with its own db, how do I setup a 2nd domain? running Drupal setup again or just changing some configuration files.
are other steps required to make my site working besides the one I mentioned/did above?
If you don't mind, could you please give me step by step instructions, sorry for your trouble, I'm new to Drupal and still in the learning curve.
Thanks for any comment/suggestions
Michael
Comments
mySQL will be your friend!
Most likely what you want to do is use mySQL with phpmyadmin (already in WAMP typically) to do an export of your database to .sql format. Then you loginto c-panel and click phpMyAdmin (most servers / companies have this). Go in and do an import from the .sql file you have. This will move your entire configuration over. You may need to change some paths and some settings in your site's settings.php file but other then that you shouldn't have much to change!
Keep in mind you will need to change the database connection settings (most likely) as your username, password and possibly database name / database server have changed. Not a huge issue you should be able to get this info from your hosting company
Most of what you're talking about has to do with non-drupal interactions :)
"Plaguing the world with Drupal; One Plone, Moodle, Wordpress, Joomla user at a time since 2005." ~ btopro
http://elearning.psu.edu/
http://elearning.psu.edu/projects/
http://elearning.psu.edu/drupalineducation/
Ex Uno Plures
http://elmsln.org/
http://btopro.com/
http://drupal.psu.edu/
Files Table
You will also need to update any paths you have in the files table. But other than that what btopro said above should work fine.
Thanks you all for your
Thanks you all for your input, I'll give it a try.
Michael
Thanks in advance for your suggestion/comment
Michael
Thanks you all for replying.
Thanks you all for replying. I've decided to change my local install to multisite first, to gain some experience and also to feel how hard it is. I've followed this link ==> http://palma-seo.com/content/moving-single-drupal-install-default-direct... which said basically just to move the folder where I have my files stored, so this is what I did:
1) changed the Administer > Site configuration > File system to /sites/ppe/files (previously it was pointing to /sites/default/files)
2) put D6 offline
3) moved dir from /sites/default ==> /sites/newdomain (including settings.php then removed default dir as recommended)
4) brought D6 back online
5) went to localhost
and got the install page instead of my homepage.
Am I missing something here? Seems D6 did not recognize the new path in File system. Is there any other place that I have to change?
ps: D6 is still in the same location (/www/), I did not move it.
Thanks in advance for your suggestion/comment
Michael
Thanks in advance for your suggestion/comment
Michael
Who is recommending that you
Who is recommending that you remove sites/default? I don't think that's a good idea…
The Boise Drupal Guy!
I saw a posting in the net
I saw a posting in the net saying that the reason behind it is if the default is there, the fall back will always be the default folder and it'll be difficult for you to diagnose your problem, and if the default is not there anymore, you'll know right away if there's a problem.
Any one has done this before? and how to solve it? Yes, I did an update on the files table, but the table is empty (I went to phpadmin and it showed 0 records, could it be 0 records? my site is working and when I put back the default folder, everything works but when I removed it, it just showed install page.).
Thanks in advance for your suggestion/comment
Michael
Thanks in advance for your suggestion/comment
Michael
I saw a posting in the net
duplicate post
Thanks in advance for your suggestion/comment
Michael
Thanks in advance for your suggestion/comment
Michael