mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update new.md
This commit is contained in:
@@ -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':
|
||||
|
||||

|
||||
|
||||
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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user