Skip navigation.
Home

Installing Drupal 6.1 on 1and1

Installing Drupal 6.1 on 1and1 host

Time: ~15 min

1) copy drupal to the host
2) point your domain destination to the drupal's dir (if you want it to be the top site e.g. www.mydomain.com
or if you want it to be www.mydomain.com/drupal make sure that is the directory where drupal is.
Note: it may take some time for the settings become updated

3) go with the browser to the path of your drupal installation e.g. www.mydomain.com

You will get the following Error:
register_globals is enabled. Drupal requires this configuration directive to be disabled. Your site may not be secure when register_globals is enabled. The PHP manual has instructions for how to change configuration settings. (Currently using PHP register globals Enabled ('1'))

Solution:
create a file called php.ini and add it to the root of the site. It only has text:
register_globals = off
memory_limit = 64M
Ref [http://www.daharsh.net/tech/2008/02/drupal-6-on-1and1com.htm]

Then click on try again

4) Database configuration

Go to 1and1's "Administration\Web Space & Access\MySQL Administration"

It will actually take some time for your database to become ready on 1and1
After the Status == 'ready'

Then fill in the requested values in drupal

FIN:
You are done now

Additional Things:

Clean URLs

Find the .htaccess file in the drupal folder and open it

Change (uncomment):
# RewriteBase /
To:
RewriteBase /

Then to enable go to Home » Administer » Site configuration » Clean URLs