Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to upload two websites to a virtual host

Shulou Source: shulou.com Published: 2022-06-02 01:10:22 10月03日 Update

What this article shares with you is about how the virtual host uploads two websites. The editor thinks it is very practical, so I share it with you. I hope you can get something after reading this article. Let's take a look at it with the editor.

First of all, you need to purchase a virtual host that supports multiple sites and quickly build the first website; then create a subdirectory under the root directory of the virtual host to be used as the storage of the second website; then go to the virtual host control panel to find the substation management, bind the new domain name to the new directory, and upload the website system to the subdirectory, so that you can build a website.

The virtual host can create multiple websites through the subdirectory function. Because the virtual host itself has limited resources, if you want to create a virtual host with two sites, it is recommended to buy a relatively high configuration. We take the exclusive standard model as an example to configure:

Exclusive CPU: exclusive single core exclusive memory: exclusive 1G space size: 20g database size: 1GB monthly traffic: 500G/ monthly exclusive bandwidth: 12Mbps computer room line: domestic dual-line computer room, domestic BGP computer room, Hong Kong international computer room operating system: Windows2016, Linux and other databases: MSSQL, MySQLIP address: shared IP, Different IP and other free benefits: .xyz / .online / .store / .tech / .fun / .site / .shop / .space / .press / .host / .domains (1 / 11), 5G enterprise mailbox price: 698 yuan / 1 year An one-time purchase for 3 years, 698 yuan and 2094 yuan, plus a gift of 2 years, equals 2094 yuan / 5 years, which is actually 418.8 yuan / 1 year.

Whether it is server performance or space, traffic, it is suitable to create multiple sites.

Home page we go to the virtual host control panel, find "pre-installed software", here are more than a dozen popular website systems, select a click to install, so that the first website can be built quickly. Note that this site is installed in the root directory

Second, we go to the root directory of the virtual host and create a subdirectory, such as "web1"

Next, go to the center of the virtual host control panel and find "substation management", where you bind the new domain name to the subdirectory "web1"

Go to "pre-installed software" again, select a website system, and install it to the directory "web1"

In this way, the two websites have all been built.

The above is how the virtual host uploads two websites, and the editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.

Tags: Host website virtual host subdirectory two computer room site system domain name root directory panel control size substation data database more traffic directory Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Shulou Technology vpn macOS NVidia