Introduction to Kirby
Kirby is a file-based content management system (CMS) that stands out for its adaptability and simplicity. It does not use a database at all, making Kirby an agile and intuitive solution for developers and designers who wish to create bespoke websites. Kirby’s robust template system, combined with a user-friendly interface, makes content management and design customisation easy, making it an ideal choice for projects of all sizes.
Prerequisites
Before you begin, you’ll need access to your hosting account and the control panel.
Our Managed Shared Hosting environment already includes everything required for Kirby:
- PHP (version 8.1 or later)
- Composer
- Access via SSH
Step 1: SSH access
Set up SSH access:
If you haven’t already done so, follow the instructions in the Control Panel or our guide to set up SSH access to your hosting account.
Establishing an SSH connection:
Use a terminal or SSH client software to connect to your hosting account. You’ll find the required login details in the Control Panel.
Step 2: Select the installation directory
1. Navigate to the web directory:
Change to the directory where your website is to be hosted. This is usually the “www” directory or a specific subdirectory within it.
cd ~/www
To install Kirby in a subfolder, create it and navigate to it:
mkdir meine_kirby_site cd meine_kirby_site
Step 3: Install Kirby
1. Create a Kirby project:
To create a new Kirby project, run the following Composer command.
Replace “my_kirby_site” with your desired project name.
composer create-project getkirby/starterkit meine_kirby_site
2. Complete the installation:
Composer will now download and install all the necessary dependencies. This may take a few minutes.
Step 4: Point your domain to the Kirby directory
Once Kirby has been installed, it is important to configure your domain in the Control Panel so that it points to the correct directory for your Kirby installation:
1. Open the control panel:
Log in to your hosting control panel and navigate to the ‘Domains’ section.
2. Edit domain settings:
Select the domain you wish to use for your Kirby website and edit the domain settings.
3. Change the document root:
Change the document root path of your domain so that it points to the directory of your Kirby installation:
/www/my_kirby_site/
Replace `my_kirby_site` with the name of the folder you used when installing Kirby.
4. Save changes:
Save the changes. It may take a few minutes for the changes to take effect.
This adjustment ensures that your web server serves Kirby’s static files correctly.
Step 5: Install the Kirby Panel
The Kirby Panel is an elegant and simple way to manage your content:
- Open your web browser and navigate to the URL of your Kirby installation.
- Kirby will automatically redirect you to the Panel installation page.
- Follow the instructions to create an administrator account. You will need a valid email address and a secure password.
Completion
Congratulations! You have successfully installed Kirby on your Managed Shared Hosting. This guide should help you get started quickly with Kirby. For more detailed information, please visit the official Kirby documentation ( https://getkirby.com/docs/guide/quickstart ).
If you have any further questions or require assistance, our support team is here to help. We wish you every success with your new Kirby website.
Haven’t found Kirby hosting yet?
Are you still looking for the perfect hosting solution for your Kirby project? Discover our optimised hosting, which offers you the performance and flexibility you need to get your website up and running. Explore our Kirby hosting packages.