1. Add a website domain name
We certainly need to bind domain names to build websites on the WEB panel, just like we need to add additional domains before using the cPanel panel, as well as in the Vesta panel. Before adding a domain name, we can resolve the domain name to the IP address of the current VPS server. Because the resolution takes effect for a while, we need to do the work first, at least not to wait for a long time.
As shown in the figure above, click the Add website domain name menu button (the simplified Chinese interface is much clearer ).
Here we enter the domain name to be bound, and if you have multiple IP addresses, you can select one. By default, click Add. If you need to set FTP and other custom settings, you need to set them in "advanced options. For example, add an alias and support SSL certificates (this will be shared separately later)
Here we add an FTP account to the current site, or you can add multiple FTP accounts at the same time. Pay attention to the corresponding directory address and user name. It is best to record the account information for backup. After the site is added, we log on to the public_html folder in the root directory of FTP, which is our default website file directory. After the site is added, if the domain name resolution takes effect, the default success page is displayed.
2. Add database users
Just like adding a website domain name, click the database menu and add a database at the + position.
Add database users, databases, and passwords as needed on our site. After the database is added, you can log on to phpmyadmin at http: // IP address/PHPMYADMIN to manage the database. The total user name is root, and the password is the same when we installed the Vesta panel.
Third, upload the program installation site
After the site is added and the database user is added, you can log on to the FTP account to upload the website program and install CMS according to the program installation wizard.
After logging on to FTP, we can see this interface. We need to upload the program to the Public_HTML directory. By default, there is no file manager. If you do not find a solution on the left, log on to the file via SSH and run the command to decompress the package. I am going to find a solution to see if there are other methods to decompress the package, after all, the file manager is important in the panel.
Select simple TYPECHO for installation on the left. Other PHP + MYSQL versions are similar. Enter the database information and administrator account in the wizard to complete the installation.
In this way, I create and bind domain names based on the Vesta panel, and add databases and FTP accounts to create a PHP + MYSQL site.
IV. Summary of Vesta Panel website construction
Through the above two articles, the old Left can basically understand that it is relatively simple to install the VESTA panel in the VPS as the site panel, and you can easily set up a website through the panel. For most users and applications, it is necessary to set up website WEB access, but there are still some configuration details, which will be sorted out separately from the left.
S