How to create a website in aaPanel
Add a new website in aaPanel on an UnderHost VPS or dedicated server, choose the web server, assign PHP, set the domain and document root,
On this page
Creating a website in aaPanel is done through the Website section. Each site has its own domain, root directory, PHP version, SSL certificate, error logs, and configuration settings. UnderHost can provision aaPanel pre-installed on eligible VPS and dedicated servers, so many customers start at this step instead of installing the panel manually.
Before you start
Before adding a website, make sure:
- The LNMP (Nginx) or LAMP (Apache) stack is installed-aaPanel prompts you to do this on first login
- At least one PHP version is installed (aaPanel → App Store → PHP)
- MySQL is installed if the site needs a database
- Your domain is ready to point to the server IP shown in CustomerPanel
If the stack is not yet installed, go to aaPanel → App Store and install the components you need.
Add a website
-
Open Website
Log in to aaPanel and click Website in the left sidebar.
-
Click Add Site
Click the Add Site button.
-
Configure the site
- Domain: Enter your primary domain (e.g.,
yourdomain.com). Click Add domain if you also want to addwww.yourdomain.comas an alias - Description: Optional label for your own reference
- Root directory: aaPanel suggests a path like
/www/wwwroot/yourdomain.com-you can accept the default or customise it - PHP version: Select the PHP version for this site
- Database: If you want aaPanel to create a database at the same time, select MySQL and fill in the database name, username, and password. Or leave it as Do not create and create the database separately later
- Domain: Enter your primary domain (e.g.,
-
Submit
Click Submit. aaPanel creates the vHost configuration, directory structure, and optionally the database.
Where files are stored
By default, aaPanel stores website files at:
/www/wwwroot/yourdomain.com/
This is the web root. Upload your website files here via the aaPanel File Manager or FTP. Files in this directory are served by Nginx or Apache to visitors.
Site configuration options
After creating the site, click the site name in the Website list to access per-site settings:
| Tab | What you can configure |
|---|---|
| Domain name | Add or remove domain aliases (e.g., add www) |
| PHP version | Switch PHP version for this site |
| SSL | Issue Let's Encrypt certificate or install a custom cert |
| URL rewrite | Select a rewrite template (WordPress, Laravel, etc.) or write custom rules |
| Config | Edit the raw Nginx/Apache config for this site |
| Error log | View the error log for this site directly in the panel |
| Logs | View access logs |
Next steps
- Point the domain's A record to the server IP-see How to point a domain to an aaPanel server
- Upload website files via File Manager or FTP
- Create a database if needed
- Issue an SSL certificate
If this is part of a to UnderHost, gather the source host login, current DNS provider, database names, and target domain list before opening a ticket. UnderHost specialists can help move sites from cPanel, Plesk, DirectAdmin, and custom stacks.
Related: Install WordPress in aaPanel | aaPanel SSL | aaPanel DNS | aaPanel databases
Need aaPanel hosting?
Install aaPanel on an UnderHost VPS or dedicated server when you want a simple web interface for sites, databases, SSL, and apps.





















