In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article shows you how to bind two websites on the virtual host, the content is concise and easy to understand, it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
Virtual host binds two websites, you need to prepare a virtual host that supports subsites, as well as two domain names, and website programs.
1. Bind the first website
Bind the virtual host to the first website, use the virtual host root directory to bind to domain name 1, and then create it. The specific steps are as follows:
a. Go to the center of the virtual host control panel and find "host domain name binding"; b. Enter the domain name 1 here and bind it; c. Go to the management center of domain name 1; d. Find "domain name resolution", add a resolution record to domain name 1, and point to the resolution address of the virtual host; e. To install the website program for the virtual host, you can either own or use the one provided. Go back to the virtual host control panel center and find the "pre-installed software". There are more than a dozen common website systems here. Choose one to install and automate the operation.
two。 Bind to the second website
a. After the first website is installed successfully, we go to the virtual host-file manager-root directory (wwwroot) and create a subdirectory, such as "zizhan"
b. Go to the center of the virtual host control panel, find the "substation management", and use domain name 2 to bind the subdirectory (zizhan)
c. Install the website program for a subdirectory (zizhan)
In this way, the virtual host binds the two websites. For better use, it is recommended to associate a new database with the subsite and distinguish it from the main site.
The above content is how to bind two websites on the virtual host. Have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.