Sites

Create your first site.

Alright - we are getting somewhere. You already created your first server, now it's time to add a site.

Getting started

Choose your project from the project overview and click the settings-icon . Now choose "Create Site".

Domain

Enter your site's domain name without http:// or https://-prefix, e.g. example.com.

Server

Choose the server the site should be created on. Only servers with the Webserver-role can be selected.

TLS

Enable TLS

If you want rootli to manage TLS for you, enable this. Rootli will instruct the webserver to obtain a certificate from Let's Encrypt or ZeroSSL.

TLS configuration

TLS Type

You can choose between two options:

  1. Let's Encrypt/Zero SSL: Get a free certificate
  2. Self-signed certificate: Use your own self-signed certificate
To obtain a free TLS certificate via Let's Encrypt or ZeroSSL, the A-record of the site's DNS zone has to point to the server, e.g. rootli.app. 300 IN A 172.66.40.192

ACME-Options

Disable TLS-ALPN-01 challenge

When choosing Let's Encrypt/ZeroSSL, you might want to disable the TLS-ALPN-01 challenge, which can conflict when using a domain behind a proxy like CloudFlare.

Enable PHP

If you want to enable PHP, enable this setting and choose between the most recent PHP versions. PHP binaries will be located at /usr/bin/php<major>.<minor>.

Enable Node.js

If you want to enable Node.js, enable this setting and choose between the most recent Node.js versions. Node.js binaries will be located at /usr/local/bin/nodejs/v<major>.<minor>.<patch>/node and added to your site-user's $PATH. This way, you just need to use node when working in the site-user's context:

rootli_site_example@webserver:~$ which node
/usr/local/bin/nodejs/v22.16.0/node

Custom document root

Choose this, if you want to create a custom document root like /public or /.output.

This path is to be read under the site site's document root. For example, /public is interpreted as /var/www/vhosts/<site_user>/<domain>/public.