How To Install Drupal On Your Shared Hosting Server.
Drupal is the best content management system I have ever come across. It has all the features necessary to build any website. Drupal can save you thousands of dollars in development costs by simplifying the development of complex applications and portal websites. The drupal community has created thousands of plugins which can be configured to achieve any functionality desired in a content management system. This article will show you how to install Drupal on your shared hosting server. This article will show you how to install drupal in a shared hosting server.
Step 1: Download And Extract Drupal From Drupal.org
Go to the drupal download page and download the latest version of drupal. Extract the file to a local folder.
Step 2: Upload the files to the server.
Use a reliable FTP client like FileZilla to connect to your shared hosting server. On your browser, browse to the directory which is the root of the domain name. If you are installing in a subdirectory or in a subdomain switch to the directory that corresponds to the subdomain. Upload the drupal files to the said directory. For illustration, I am going to use the domain name http://www.droople.com. This maps to /public_html/droople.com in the FTP directory where I am going to upload my drupal files.
So I will see my drupal site at http://www.droople.com
Step 3: Creating a mysql user and database.
-
Go to http://www.droople.com/cpanel or whatever your hosting provides for administering your server.
-
Go to MySQL databases.

-
There create a new database.

-
Create a new user (remember the password, you will need it). Make sure you don’t use a password that you use for sites or your email accounts. This will be stored in a text file in the server. If you later hire a programmer to do something on your site, they can see the password.

-
Add full permissions to the database to the database user you just created.


Usually shared hosting servers prepend your hosting’s user name to the database name. So if you create mysite. The cpanel will create white_mysite. If ‘white’ is your username of the hosting server. The same goes with the username of the databse server.
Enter the address of the directory/domain name in the browser.
You will see the following screen:

Click on “Install Drupal in English”. You will see the following screen:

Don’t be alarmned! Seeing this is normal. Use your ftp client to switch to sites/default directory in your drupal installation directory (on the server). Download the default.settings.php file to your computer. Rename it as settings.php and upload it to the same directory. Now refresh the page showing the error above. Now you will see the following page:

Enter the database username and password you just created at the MySQL Databases section of the control panel. The form shown below follows:

Fill up the form with the necessary details take particular care in enering the Adminstrator’s account email address by making sure its a real email address and use a password you can remember as you will needed it to administer the website. You will see the following message with or without the error message depending on your server’s configuration.

Click on “your new site” and go to the newly installed drupal site!

Anish May 23rd, 2009 at 3:19 am
Thank you for the useful article. It was very helpful. I was stuck in being unable to get the setup process started because of the error message about default.settings.php file.
TSP May 26th, 2009 at 9:20 pm
hi raja,
yahoo small business is not allowing the .htaccess file to its server. how to overcome that if we are trying to upload drupal…..
Rajasekharan May 27th, 2009 at 12:40 am
TSP,
I’m afraid there is no way to enable clean URLs support problem while installing Drupal in Yahoo small business.
However the benefit that one gets from using clean URLs is just marginal. It is not true that search engines cannot index a site with a url like
http://www.something.com/?p=345
Most websites on the internet have URLs like that and search engines cannot afford not to index such web pages. So you can keep the default URL structure and not worry about traffic.
Raja Sekharan
ANTHONIRAJ A June 4th, 2009 at 3:56 am
I tried to upload Drupal in my yahoo small business web hosting , but i got the .htaccess error. is there any alternate way to upload drupal in yahoo small business ?
Chris February 11th, 2010 at 9:37 pm
Great post, very usefull. thank you.