This forum is no longer active. Please post your questions to our new community site
Moving website from localhost to server
|
|
Hi, I finished my website on my local host. Now I want to copy the site to internet and I’m aware that it’s not an easy task but I can’t seem to find good documentation on which files to copy, where my site’s actual database is located etc. Any tips on documentation, tutorials, etc on this subject. If possible specifically for the bitnami drupal stack? Thanx! |
|
|
Right, I’ve spent the last few days looking for pointers on how to migrate my local site to my server but cannot find anything decent. Am I the only beginner encountering this? Seems to me that almost by definition every beginner will encounter this problem. My suspicions are underlined by this discussion on the same issue with joomla: http://www.alledia.com/blog/general-cms-issues/… I just want to know where the relevant files are located and where they should be on my server. In phpMyadmin I would like to import my existing databases. The readme.txt in the bitnami-root has a short paragraph on the directory structure. Could this include an extra paragraph on the relevant subdirectories needed for migration? Or is the conclusion that Bitnami stacks are not for beginners and should I quit my efforts because there will be many more issues on the way that require a serious course in web development? |
|
|
Found a post on Drupal.org that has a good step by step guide to migrating your site: http://drupal.org/node/53479. Would be nice if these steps could be included in a manual or readme file, including a link to the myPHPadmin on your localhost. It’s in the last sentence of the last paragraph on the page that appears when you start your stack.It’s http://127.0.0.1/phpmyadmin. Now I’m dealing with the issue of linking the site with the database. I get the following error: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2). It appears to be a common error but I’m still searching for the solution. It’s probably ridiculous that I am following up on my own posts but after searching the internet for days I can only hope that I can save other newbies the time. |
|
|
Hi, This link may also be useful: http://drupal.org/node/679054. We’ll add a note to the Readme. Also, although you may already find the answer to your own questions, I’ll try to reply them in order to help to other BitNami users. >I finished my website on my local host. Now I want to copy the site to internet and I’m aware that it’s not an easy task but I can’t >seem to find good documentation on which files to copy, where my site’s actual database is located etc. The database is located in the /mysql/data/bitnami_drupal6. >Now I’m dealing with the issue of linking the site with the database. I get the following error: Can’t connect to local MySQL server >through socket ‘/var/run/mysqld/mysqld.sock’ (2). It appears to be a common error but I’m still searching for the solution. When do you get this error? Which steps have you followed for the migration? |
|
|
Hi Victoria, thanks for your reply and your help. Things can be a bit overwhelming and frustrating when you’re doing this for the first time but along the way I’m experiencing a steep learning curve :-) I resolved the last error: in settings.php the link to the database was to ‘localhost’. My provider has the database on a seperate server so I had to replace ‘localhost:3306’ by the internetaddress of the server. The next hurdle is a series of errors which are probably related to Any suggestions anybodiy? |

