If you want a subdomain with its own folder & settings:
- Go to Sites → Website → Add new
- Fill in:
- Domain: sub.example.com
- Select PHP version & server settings
- Click Save
This creates a new webroot /web/sub/.
If you want a subdomain with its own folder & settings:
This creates a new webroot /web/sub/.