Millions of websites are created everyday. It’s easy and you can do it too in less than 20 minutes with aaPanel. It doesn’t matter if it’s for business or pleasure. You don’t need a fancy designer or an expensive developer. Just follow the simple steps below and you’ll be online in no time at all.
Introduction of aaPanel
AaPanel is a server management software that supports the Linux system. It can easily manage the server through the Web terminal, improving the operation and maintenance efficiency. With its simple but powerful control panel, you can manage website easily.
Prerequisites
- CentOS 7.1+ (Ubuntu20, Debian10), 1GB+ RAM
- installed aaPanel with the LEMP stack for your server
How to manage a website with aaPanel
aaPanel Feature 1 - Create a website
1. On your aaPanel dashboard, click on the Website menu on the left panel, then click on Add site to add your first website.
2. Enter the website details in the form below and click on Submit to create your website.
Fill in the following information to add a new website.
- Domain: fill in the domain name and port to be bound.(www hostname is not automatically created)
- Description: Describe the role of the website
- Root directory: the path of the current website file, you can choose the creation point yourself, try to use the default path (/www/wwwroot) for easy management.
- FTP: When creating a website, you can choose whether to also create an FTP account when creating a website
- Database: When creating a website, you can choose whether to create a Mysql database at the same time when creating a website
- PHP version: Choose your website needs to be executed with a version of PHP, need to get more PHP version can be installed in the app store of the panel
- Site category: Used to classify websites to make management more convenient
If everything goes correctly, you will get a Successfully created site message. You will now see your website in the list of websites on your aaPanel dashboard.
aaPanel Feature 2 - Securing a Website with Let’s Encrypt
By now, you already have a web server running, but it doesn’t do anything yet until you provision a website. So you’ll create a website and secure it with Let’s Encrypt SSL certificate. Let’s Encrypt is a free, automated, and open Certificate Authority (CA) that issues, maintains, and automatically renews your certificates at no cost.
1. Click on the website’s hyperlink to access the website’s settings, where you’ll set up SSL for your website.
2. Now, click on SSL on the left panel on the Site modification pop-up window to configure Let’s Encrypt SSL for your website. Check the Select all option and click Apply to secure your newly-created website with Let’s Encrypt SSL.
3. You’ll get an output similar to the one below if everything goes correctly.
4. Navigate your website’s URL on a new browser tab to see if your website is working as intended. You’ll get the same page like the one below, confirming that your site is running.
aaPanel Feature 3 - Custom website default page
Here you can customize the default page of your website
Default indexes: The site creates a prompt page generated by default.
404 error page: The status code is 404, the error prompt page returned by the server.
Blank page: Nginx blank page / Apache blank page: The server cannot find the corresponding site, the error page prompted.
Default site stop page: a page used to feed back site stop information. If there is no related requirement, please do not modify it.
Feature 4 - Stop/Run/Delete of the website
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.
Feature 5 - Backup/Restore website
AaPanel provides both automatic and manual ways to create site backups, as shown in the image below. If needed, you can easily restore the backup.
Feature 6 - Multi-domain management
If you want multiple domain names to point to a website at the same time, please set it in the domain name management.
- Fill in one domain name per line
- Support pan domain name (* .aapanel.com)
- If the added domain name cannot be accessed, please check whether there is dns resolution
Feature 7 - Set Default Index
Set the default document for the site. After completing the modification, click Save to complete.
Feature 8 - Config Reverse proxy
In computer networks, a reverse proxy is the application that sits in front of back-end applications and forwards client requests to those applications. Reverse proxies help increase scalability, performance, resilience and security.
Proxy directory: when you access this directory, the contents of the target URL will be returned and displayed (advanced features required)
The target URL: you can fill in the site you need to proxy. The target URL must be a properly accessible URL, or an error will be returned
Domain to be sent: add the domain name to the request header and pass it to the proxy server. It is the target URL domain name by default. If not set up properly, the proxy may not function properly
Content replacement: can only be provided when using nginx, you can add up to 3 replaced content, if you do not need to replace, please leave it blank
Feature 9 - Switch PHP version
Set the PHP version of the current site, according to the version required by the current site, if you need to add the PHP version, you can add in the App Store.
Feature 10 - Install PHP extensions
- Click on the App Store menu on the left panel to view the App Store.
- Then click on Installed to see installed applications.
- Look for PHP-7.4, then click Settings on the right-hand side to view additional extensions to install.
Lastly, click on Install extensions in the Manage pop-up window, and click Install on the right of the extension you need for your website.
PHP extensions provide you with files that add features to the PHP language. They also provide you with a way to add new functions or change existing functions in PHP without modifying PHP core files.
Conclusion
In this tutorial, you have learned aaPanel’s top 10 features to manage a website. With aaPanel, it is so easy for us to manage a site, from creating a site, binding domain name, installing ssl certificate, setting up regular backup task, etc., in 10 minutes. If you like, here I recommend VPSMart’s web hosting, which provides ready-made aaPanel panel, let’s experience it to our heart’s content.