Our web hosting packages support the most popular and user-friendly WordPress as well as the use of other CMSs, such as Drupal. For many developers, the flexible Drupal is an interesting choice because it can handle a lot of data and has many security features.
In this article we will explain the steps to install Drupal on a web hosting package.
Create a database and database user
To do this, use the steps in the articleI want to create and manage a database . You will need the following information during installation:
- The database name. After the database has been created, it can always be found in the database overview in your control panel.
- The database user. By clicking on the three dots next to the database name you can find your database user under 'Manage users'.
- The password of the database user.
- The hostname of the database. You can find this by clicking on the database name in the database overview.
Download the files to your web hosting package
You can optionally download the files yourself and place them on your web hosting package using SFTP . However, Drupal recommends using composer for this, as it allows you to easily add and manage themes/modules/libraries.
Composer is active on our web hosting packages, all you need to do is connect via SSH so you can enter the following command:
composer create-project drupal/recommended-project drupal
This will create a folder called /drupal/ into which the files will be downloaded. The index.php file will then be in a folder called /web/. Therefore, after all files have been downloaded, change the DocumentRoot of your website to /drupal/web . You can find the steps for this in the article The DocumentRoot of your website .
Install Drupal
After modifying the DocumentRoot, visit your website through a browser to go through the installation process.
Step 1
Choose the language in which you want to install Drupal.
Step 2 & 3
Select an installation profile. In most cases, you will select 'Standard' here.
Once you click 'Save and continue' it will automatically check if all requirements are met. One of the requirements is that you are using PHP version 8.3 on your web hosting package. You can change your PHP version using the steps in the article I want to change the PHP version of my website .
Step 4 & 5
First enter the details of the database you created here: The database name, username and password.
Then click on 'Advanced options' and change the Host to your hostname. You can find this in your control panel by clicking on your database name in the database overview.
You can leave the other data under 'Advanced options' as is. As soon as you save, the website will be installed immediately.
Step 6
Give your website a name and fill in an email address for automatic emails. It is important to use an email address that ends with your domain name, so that these emails do not end up in spam.
Then, under 'Site Maintenance Account', create login details to log in to your Drupal website.
Once saved you will be logged in immediately and you can get started!