Home >Web Front-end >HTML Tutorial >What is a virtual host? Complete knowledge about virtual hosts

What is a virtual host? Complete knowledge about virtual hosts

云罗郡主
云罗郡主forward
2018-10-10 14:37:463361browse


The content of this article is about what is a virtual host? A complete understanding of virtual host knowledge, which has certain learning value. Friends in need can refer to it. I hope it will help You helped.

What is a virtual host? Complete knowledge about virtual hosts

1. What is a virtual host - TOP

Virtual Host Virtual Server (Virtual Host Virtual Server) is also called website space or network space Web space uses special software and hardware technology to divide a computer host into "virtual" hosts. Each virtual host has an independent domain name and IP address (or shared IP address), and has a complete Internet Server functions. On the same hardware and the same operating system, different server programs opened for multiple users are running without interfering with each other; and each user has his own part of the system resources (IP address, file storage space, memory, CPU time, etc. ). Virtual hosts are completely independent from each other. From the outside world, each virtual host behaves exactly the same as an independent host.
With the development of the industry, virtual hosts have slowly moved from the initial prototype model to a high-end model. On the virtual host, more and more functions are being explored, and it will become the mainstream of the network.

2. What is a bound domain name - TOP

The bound domain name is the "host name header". Simply put, if we want a domain name to access the virtual host , then what we need to do is:
Step 1: Resolve the IP of the domain name to the IP of the server where the virtual host is located.
The second step is to bind the virtual host to the domain name.
After completing the above two steps, you can use the domain name to access the space.
What are international domain names and domestic domain names?
Domain names on the Internet can be described as diverse, but from the structure of domain names, domain names can generally be divided into two categories. One category is called "international top-level domain names" (referred to as "international domain names"). Domain name"), one category is called "domestic domain name".

The last suffix of a general international domain name is some "international general domain" such as .com, .net, .gov, .edu. These different suffixes represent different institutional properties. For example, .com represents a commercial organization, .net represents a network service organization, .gov represents a government organization, and .edu represents an educational institution.

3. What is the default homepage - TOP

The default home page is the default document. He refers to a file that is automatically located when accessing a file directory. For example, there is a directory /bbs in your space. If you have many files with different names in this directory, but you want to access one of the files called index.htm by default when entering the URL www.abc.com/bbs. Then you need to set the default homepage to Index.htm. Of course, you can also set other ones such as zgsj.cgi, etc.
Common default homepage order: index.html, index.php, index.shtml, Default.aspx, etc. You can set the order according to the actual webpage of your own page

4. What is FTP - TOP

FTP (FileTransfer Protocol, file transfer protocol) is a very widely used protocol on the Internet. A communication protocol. It is a collection of various rules that support Internet file transfer. These rules allow Internet users to copy files from one host to another, thus providing users with great convenience and benefits

5. What is MX record - TOP

MX record is also called mail routing record. Users can point the mail server under the domain name to their own mail server, and then they can Control all email settings. You only need to fill in the IP address of your server online, and all emails under your domain name will be transferred to the corresponding mail server you set.

Simply put, by operating the MX record, you can get the post office ending with your domain name.

6. What are the uses of the several folders in FTP - TOP

After the virtual host is successfully activated, 4 files will be automatically generated in your FTP folders, respectively: "databases", "logofiles"
"others", "wwwroot", their functions are as follows:

1. wwwroot folder: This folder stores files that can be accessed through the web , you need to upload the website files you publish to the outside world to this directory. The files accessed by entering the domain name will be the files in this folder.

2. Databases folder: This folder, like the logofiles and others folders, is a folder that cannot be accessed through the web. That is, users cannot access files in these folders by entering URLs. You can Upload some files that you don't want others to have access to. For example, you can store the access database in the databases folder, which can maximize the security of your database.

3. Others folder: This site stores files that cannot be downloaded through http.

The above is a complete introduction to what is a virtual host? The complete knowledge of virtual hosts. This article contains a lot of knowledge. I hope you can gain something. Please pay attention to the PHP Chinese website for more information.

The above is the detailed content of What is a virtual host? Complete knowledge about virtual hosts. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:divcss5.com. If there is any infringement, please contact admin@php.cn delete