Prerequisites
Before adding a domain, make sure you have:
- Access to HestiaCP control panel
- A domain name registered and pointing to your server IP
- Admin or user privileges in HestiaCP
Step 1: Log in to HestiaCP
Access https://YOUR_SERVER_IP:8083 and log in with your credentials.
Step 2: Navigate to WEB Section
Click on WEB in the top menu bar.
Step 3: Click "Add Web Domain"
Click the green + Add Web Domain button.
Step 4: Fill in Domain Details
- Domain: Enter your full domain name (e.g.,
example.com) - Aliases: (Optional) Add additional domains like
www.example.com - Username: Select which user owns this domain
- Proxy Support: Enable if using Nginx as reverse proxy
- SSL Support: (Optional) Enable for HTTPS
- Stats Password: (Optional) For web statistics
Step 5: Advanced Options
Click Advanced Options to configure:
- PHP Version: Select PHP version (e.g., 8.1, 8.2)
- Additional FTP User: Create FTP user for this domain
- Web Template: Nginx/Apache template
- Backend Template: PHP-FPM configuration
- Proxy Template: Nginx proxy settings
Step 6: Save the Domain
Click the Add button to create the domain.
Step 7: Verify Domain Creation
You should see your new domain listed in the WEB section.
The document root will be created at:
/home/username/web/domain.com/public_html
Step 8: Upload Your Website Files
Via SSH:
scp -r /local/website/* username@YOUR_SERVER_IP:/home/username/web/domain.com/public_html/
Via FTP using credentials from HestiaCP.
✅ Domain has been successfully added to HestiaCP!