Website
The website module is used to manage site configurations on the Web server. AcePanel supports three types of websites: reverse proxy, PHP, and static.
Prerequisites
Before using the website feature, you need to install a Web server first:
- Go to Applications > Native Applications
- Install Nginx, OpenResty, or Apache
Website Types
| Type | Description | Use Cases |
|---|---|---|
| Reverse Proxy | Forward requests to backend services | Node.js, Go, Java applications |
| PHP | Run PHP programs | WordPress, Laravel, etc. |
| Static | Host static files | HTML, Vue/React build outputs |
Website List
In addition to the type tabs (All/Reverse Proxy/PHP/Pure Static), the website page also provides Stats and Settings tabs.
The website list displays the following information:
- Website Name: Unique identifier for the site
- Website Type: Reverse Proxy, PHP, or Pure Static
- Running: Whether the site is enabled
- Directory: Directory where website files are located
- HTTPS: Whether HTTPS is enabled
- Certificate expiration: SSL certificate expiration time
- Expiration: Site expiration time; the site is automatically stopped when it expires
- Remark: Custom remarks
- Actions: Edit, delete, etc.
Create Website
- Go to the Website page
- Select the website type tab (Reverse Proxy/PHP/Static)
- Click Create Website
- Fill in the website information
- Click Create
Common Configuration Items
- Name: Unique identifier for the website, only letters, numbers, hyphens, and underscores are allowed; cannot be changed after creation
- Domain: Bound domain names, multiple can be added (paste comma/space/newline-separated values to add them in bulk)
- Port: Listening port, default 80
- Remark: Optional remarks
Type-specific items:
- Reverse Proxy: requires a Proxy Target (e.g.,
http://127.0.0.1:3000) - PHP: requires selecting a PHP Version, and optionally creating a Database (database name/user/password) together with the site
- PHP / Pure Static: support customizing the website Directory (defaults to
website directory/website name/publicwhen left empty)
Website Management
Click the Edit button of a website to enter the management page, which is organized into tabs:
- Domain & Listening: modify bound domains and listening ports
- Basic Settings: website directory, run directory, default index files
- Upstreams / Proxies: configure backend upstreams and proxy behavior (reverse proxy sites only)
- HTTPS: bind SSL certificates, HTTP redirect, HSTS, OCSP, TLS versions
- Rewrite: set rewrite rules (PHP sites only)
- Redirects: configure redirect rules
- Advanced Settings: access statistics, log settings, rate limiting, real IP, and basic authentication
- Custom Configs: add custom configuration snippets (site-scoped or shared)
- Access Log / Error Log: view the site's logs in real time
Batch Creation
Click Bulk Create Website to create multiple websites at once, suitable for scenarios requiring rapid deployment of multiple sites.
Delete Website
When deleting a website, a 5-second confirmation countdown is required. You can choose whether to also delete the website directory and delete the local database with the same name. Bulk deletion (from the list selection) removes the website directory but keeps the same-name database.
Next Steps
- Reverse Proxy - Learn how to create reverse proxy websites
- PHP Website - Learn how to create PHP websites
- Static Website - Learn how to create static websites
