Get the App
SLTechnology News&Howtos  ›  Servers  › 

The method of building one more web page in virtual host

Shulou Source: shulou.com Published: 2022-06-02 19:19:25 10月04日 Update

Editor to share with you the method of building one more web page on the virtual host. I hope you will gain a lot after reading this article. Let's discuss it together.

How to build an extra web page for a virtual host? Virtual host to build an additional website, the virtual host needs to be able to support the subsite function, you can open the subdirectory binding, bind the second domain name to the subdirectory, you can build a second website.

1. Feature support

First of all, we need to make sure that the virtual host we purchased has the function of a subsite, so that we can build a second website.

two。 Build the first website

Next, let's build the first website. First, go to the control panel center of the virtual host; find the "host domain name binding" and bind the first domain name to the virtual host; if both the virtual host and the domain name are purchased, domain name resolution will be automatically added without manual configuration. If you want to manually, go to the "domain name resolution" of the domain name and add the CNAME record. Go back to the center of the control panel and find the "pre-installed software". There are more than a dozen common website systems. Choose an installation, and you can automatically install the website on the virtual host, which is to be placed in the root directory, that is, wwwroot; uses the domain name to access, complete the website system configuration and background settings.

In this way, we built the first website.

3. Set up a second website

Then, we start to build the second website, go to the virtual host control panel center, find "file management", and enter; after arriving at the file manager, we create a new subdirectory under the root directory, such as "newweb"; then go back to the control panel center and find "subsite management"; in the subsite management function, we bind the second domain name to "newweb" Then go to the management center of the second domain name, in the domain name resolution, add the resolution record; go back to the control panel center, enter the pre-installed software, select a website system to install into the subdirectory "newweb"; complete the system configuration. So the second website is set up.

After reading this article, I believe you have a certain understanding of the method of building an additional web page on the virtual host. You want to know more about it. Welcome to follow the industry information channel. Thank you for your reading!

Tags: Website host virtual host domain name panel control management function subdirectory system web page configuration method substation manual file root directory site article Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Shulou Tech Info Redmi OPPO Reno vpn