Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to make a virtual host into two sites

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

This article uses easy-to-understand examples to introduce how the virtual host is made into two sites, the content is very detailed, interested friends can refer to, hope to be helpful to you.

The virtual host uses the subdirectory function to build multiple websites, of course, as long as the virtual host supports the subdirectory function.

The basic steps for making a virtual host into two sites:

1. Under the root directory of the virtual host, create a subdirectory, such as "web1"

2. Go to the virtual host control panel, and bind the domain name to the virtual host and the new domain name to the subdirectory at "Domain name Management" and "Sub-site Management", respectively.

3. Upload the website program to the root directory and subdirectory, and the two website programs can be different.

In this way, we built both sites.

Can support virtual hosts made into two sites: multi-line business type, multi-line door type, Yunfeng C, multi-line deluxe type

LinuxF 、 LinuxE 、 LinuxG 、 LinuxH

Super G type, supported by all models

Double-line business type, double-line door type, double-line super-value type, double-line deluxe type

And cluster super-strong type, cluster business type, cluster comfort type, cluster super-value type, cluster typical type, cluster luxury type.

There are many models, such as exclusive Standard Edition, exclusive Premium Edition, exclusive Deluxe Edition and so on, which can build two or more sites.

On how to make the virtual host into two sites to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Tags: Host virtual host two site cluster subdirectory luxury business business domain name multiline website luxury support content function model multiple more Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information MariaDB Docker OPPO Reno Shulou Technology