Is there any documentation link on how to upload a drupal site from my local machine to my server?

I have tried this now with 2 sites, and no go. Drupal sure seems awesome.... but I cannot get it to work in the real world (looks great on my machine), and I cannot find any documentation on how to do this.

Using Acquia Drupal on local machine (iMac). Using Hostmonster.

Thanks,

Ryan

Comments

drupalnesia’s picture

The understand how a local site will work fine on *your* hosting then you can try to install Drupal directly on the hosting server. Once this Drupal site works .. look at sites/all/default/settings.php, take attention to:
- hostname
- mysql or mysqli or .... as you database
- db username format, something like: username_dbname (for cpanel), dbname only (for webmin), ect
- db password

In short what you must do:
- upload all local files
- upload local db
- set username, password and db access properly

You may give a try a report back to this post

ryantboyd’s picture

I appreciate the comments. I know the basic step of upload, upload db, connect

But, this is my third Drupal upload attempt, and no success. The first one partially worked, the site displayed but with no graphics. The second upload attempt ended up in destruction of my files on my machine and complete failure, wasting days of work. Now this third attempt has resulted in a non-working site and some unintended configuration problems on my machine from following advice on these forums.... :-(

Going through the links you were all kind enough to provide, a couple of things became very clear: 1) There is no simple and concise explanation for how to get an upload to work. 2) Different people have lots of different ideas, some which work for some, some which dont. 3) This is a complex and difficult problem that often leads to failure

Doing my own research I have found that getting a site live is actually the most complicated part of Drupal. This is explicitly stated in the training videos on Lynda.com. I guess there is no way around this, but it is very disappointing. I have also noticed that this causes a lot of people to give up on Drupal, or to develop only on a live site (which is compeltely impossible for a commerical/professional development, and really represents a failure).

For now Drupal is a fun toy that doesnt actually work in the real world, for me. I am now looking into hiring a professional to help me get my site up on an actual server, but that seems to eliminate one of the supposed benefits of drupal. Oh well, what can I do?

I would recommend these next steps for the Drupal community to overcome this problem:
1) Provide a recommended hosting company or other provider that promises to make your local Drupal go live on the web, whatever the fee.... but provide this resource or link to this resource
2) Develop a comprehensive, concise, and newbie friendly step-by-step guide to the process.... or provide information on where to obtain such, even for a fee. (although I guess such a creature may not exist or be able to exist).

Thanks again,

Ryan

khanz’s picture

------------
Volvo, Video, Velcro. (I came, I saw, I stuck around.)

kuldip zala’s picture

Hello,

You can refer this http://www.qc4blog.com/?p=714 to deploy from localhost to live server.

Thanks,

ryantboyd’s picture

I appreciate the comments. I know the basic step of upload, upload db, connect

But, this is my third Drupal upload attempt, and no success. The first one partially worked, the site displayed but with no graphics. The second upload attempt ended up in destruction of my files on my machine and complete failure, wasting days of work. Now this third attempt has resulted in a non-working site and some unintended configuration problems on my machine from following advice on these forums.... :-(

Going through the links you were all kind enough to provide, a couple of things became very clear: 1) There is no simple and concise explanation for how to get an upload to work. 2) Different people have lots of different ideas, some which work for some, some which dont. 3) This is a complex and difficult problem that often leads to failure

Doing my own research I have found that getting a site live is actually the most complicated part of Drupal. This is explicitly stated in the training videos on Lynda.com. I guess there is no way around this, but it is very disappointing. I have also noticed that this causes a lot of people to give up on Drupal, or to develop only on a live site (which is compeltely impossible for a commerical/professional development, and really represents a failure).

For now Drupal is a fun toy that doesnt actually work in the real world, for me. I am now looking into hiring a professional to help me get my site up on an actual server, but that seems to eliminate one of the supposed benefits of drupal. Oh well, what can I do?

I would recommend these next steps for the Drupal community to overcome this problem:
1) Provide a recommended hosting company or other provider that promises to make your local Drupal go live on the web, whatever the fee.... but provide this resource or link to this resource
2) Develop a comprehensive, concise, and newbie friendly step-by-step guide to the process.... or provide information on where to obtain such, even for a fee. (although I guess such a creature may not exist or be able to exist).

Thanks again,

Ryan

khanz’s picture

I have developed many sites offline on a localhost and later uploaded it online. I have never faced any problem with the process, may be I was lucky. I always disable clean URLs before starting...

1) FTP your local drupal files (development site) to the online server.
2) Clear cache from drupal admin and take a dump of the database from localhost.
3) Create an empty database online and upload the dump using phpmyadmin.
4) If required change database name and password in settings.php

If still it doesnt works, there might be file permission issues or something else. It might help if you can tell about any specific message or error you see.

------------
Volvo, Video, Velcro. (I came, I saw, I stuck around.)