当前位置:网站首页>Huakaiyun (Zhiyin) | virtual host: what is a virtual host
Huakaiyun (Zhiyin) | virtual host: what is a virtual host
2022-07-03 01:45:00 【Weaving sound Z】
Let's recommend his virtual host :www.zwwhl.com
Virtual host ( English :virtual hosting) Or called Shared host (shared web hosting), also called Virtual server , On a single host or host group , How to implement multi domain services , Can run multiple Website Or service technology . Virtual hosts are completely independent , And can be managed by users themselves , Virtual does not mean that there is no , It means that the space is extended from the server of the entity , Its Hardware The system can be based on server clusters , Or a single server .
Its technology is Internet The server Server savings adopted Hardware Cost technology , Virtual host technology is mainly used in HTTP,FTP,EMAIL And many other services , One or all services of a server Logic Divided into multiple service units , The external representation is multiple servers , So as to make full use of server hardware resources . If the partition is system level , It's called a virtual server .
Easy to manage
All virtual hosts are in the same host , Therefore, they can share the same configuration settings , So as to save the manpower and cost of management .[1]
Improve performance
Virtual hosts within the same host can share assemblies with each other (Process Pool), Therefore, the response time to the client can be shortened .[1]
cost reduction
Virtual host enables the resources of a single server to be used more effectively , Include Memory 、 Storage space or processor resources . Because usually the resources needed to serve a single web address are quite small for the whole server , In this way, the resources of the server can be used more effectively .[2]
Multiple virtual servers , Can pass Software Set up in the same entity The server On , And each Virtual server It can provide all the functions of the server , In this way, the cost of each virtual server is reduced to a certain extent . See : Dedicated hosting service
Implementation type of virtual host
There are three ways to achieve it : URL name correspondence (Name-based)、IP The address corresponds to (IP-based) as well as Port The port number corresponds to (Port-based).[1]
URL name correspondence (Name-based)
URL name correspondence (Name-based) By identifying the URL provided by the client , Determine the corresponding service , This method effectively reduces IP Occupation of address , But the disadvantage is that we must rely on DNS The name corresponds to the service Support for , If the name corresponds to service interruption , The service corresponding to this name will also be unavailable .[1]
IP The address corresponds to (IP-based)
IP The address corresponds to (IP-based) It means on the same server , Borrow the same configuration settings 、 Different IP To manage multiple services .[1]
Port The port number corresponds to (Port-based)
Approximate to IP The address corresponds to , But in the same place IP under , Use different Port Port number to distinguish different services , To quickly create multiple virtual hosts . for example :
- 192.168.0.1:80
- 192.168.0.1:8080
- 192.168.0.1:8888
However, most of these applications are used in private or experimental services , The reason is that the user cannot use the default port number ( for example Web The default port number of the service 80) Access to the services provided , Unless the user knows the port number of the service .[1]
Choose a virtual host
The hardware facilities of the host, the virtual host machine room owned by the virtual host provider , What size Data Center , Whether there is enough bandwidth of the computer room line , Whether the online speed of the virtual host website can meet the traffic bandwidth of all its virtual host customers at the same time . How many websites are set up on a virtual host? Usually a virtual host can set up hundreds to thousands of websites , If there are more websites , The more people share the same server ; In comparison, resources are relatively tight . Generally related to machines CPU、 Memory Etc .IIS It's usually 10000/ Number of connections per server .
边栏推荐
- What is tone. Diao's story
- Force buckle 204 Count prime
- Three core issues of concurrent programming - "deep understanding of high concurrent programming"
- "Jetpack - livedata parsing"
- JUC thread scheduling
- 力扣 204. 计数质数
- 【数据挖掘】任务6:DBSCAN聚类
- Vant 实现简单的登录注册模块以及个人用户中心
- Scheme and practice of cold and hot separation of massive data
- Network security - firewall
猜你喜欢
[technology development-23]: application of DSP in future converged networks
【面试题】1369- 什么时候不能使用箭头函数?
leetcode刷题_两数之和 II - 输入有序数组
Main features of transport layer TCP and TCP connection
Some functions of applet development
Using tensorboard to visualize the model, data and training process
Introduction to flask tutorial
自定义组件、使用npm包、全局数据共享、分包
音程的知识的总结
【数据挖掘】任务5:K-means/DBSCAN聚类:双层正方形
随机推荐
C application interface development foundation - form control (3) - file control
Network security - Trojan horse
数学知识:台阶-Nim游戏—博弈论
[error record] an error is reported in the fluent interface (no mediaquery widget ancestor found. | scaffold widgets require a mediaquery)
mysql
自定义组件、使用npm包、全局数据共享、分包
How is the mask effect achieved in the LPL ban/pick selection stage?
LeetCode 987. Vertical order transverse of a binary tree - Binary Tree Series Question 7
wirehark数据分析与取证A.pacapng
C language course information management system
小程序开发黑马购物商城中遇到的问题
[data mining] task 5: k-means/dbscan clustering: double square
Learn the five skills you need to master in cloud computing application development
Sweet talk generator, regular greeting email machine... Open source programmers pay too much for this Valentine's day
[technology development-23]: application of DSP in future converged networks
Types of map key and object key
【数据挖掘】任务1:距离计算
Why can't the start method be called repeatedly? But the run method can?
View of MySQL
A simple tool for analyzing fgui dependencies