Installing Drupal

Building a site? Go to the Download page for quick installation commands. This area is for Drupal development.

In a hurry? Go straight to Install Drupal via DDEV. Otherwise, read Before a Drupal installation.

The Drupal User Guide (Chapters 3 & 4) covers prerequisites, installation, and post-setup. This guide shares similar material but provides more options with less detail.

Before a Drupal installation

Meet Drupal's system requirements on either a local or remote server.

Install Drupal with DDEV for local site building and development

The Drupal community recommends using DDEV for local site building, as well as Drupal core development.

Install dependencies with Composer

After updating the codebase with Git, the required PHP libraries must be installed with Composer

Create a database

Create a database for Drupal to use

Run the installer

Run the installation script

Check status and protect

Check the status of your site

Add Composer to an existing site

How to convert an existing Drupal site to a composer-managed project. Step by step guide to adding composer to manually installed site.

Drupal quick-start demo on your own hosting

Launch a local demo version of Drupal

Trusted Host settings

Protecting against HTTP HOST Header attacks

Using a load balancer or reverse proxy

When running large Drupal installations, you may find yourself with a web server cluster that lives behind a load balancer.

Guide maintainers

nick hope's picture
benjifisher's picture