diff --git a/website/docs/panel/domains/new.md b/website/docs/panel/domains/new.md index eae1d8e8..ac63f9dd 100644 --- a/website/docs/panel/domains/new.md +++ b/website/docs/panel/domains/new.md @@ -3,3 +3,32 @@ sidebar_position: 2 --- # Add new domain + +To add a new domain name, simply input the domain name and click on 'Add Domain': + +![add domain](/img/panel/v2/openpanel_add_domain.gif) + +Optionally, you can set different Document Root - folder where webiste files will be stored. + +When adding a domain, detailed log is displayed of all actions performed, example: + +```bash +Using document root: /var/www/html/another-website +Checking if domain already exists on the server +Checking domain against system domains list +Adding another.com to the domains database +Purging cached list of domains for the account +Creating document root directory /var/www/html/another-website +Checking webserver configuration +Checking IPv4 address for the account +Starting apache container.. +Creating another.com.conf +Creating vhosts proxy file for Caddy with ModSecurity OWASP Coreruleset +Caddy is running, validating new domain configuration +Domain successfully added and Caddy reloaded. +Creating DNS zone file with A records: /etc/bind/zones/another.com.zone +DNS service is running, adding the zone +Adding the newly created zone file to the DNS server +Starting container for the default PHP version 8.4 +Domain another.com added successfully +```