Home>Article>Operation and Maintenance> What is apache virtual host

What is apache virtual host

步履不停
步履不停 Original
2019-06-28 14:25:38 3486browse

What is apache virtual host

What is the apache virtual host? Apache is one of the open source web service software, and it is also a common software for installing web services on open source systems.

Virtual host is an integrated environment that provides website services, such as: linux Apache php mysq LAMP is often referred to as a space for website building and opening, so the Apache server is just an architecture of the virtual host.

What is apache virtual host

The essence of accessing host services

Accessing web services is essentially accessing a certain IP (in terms of protocol) A certain port on the host (default is 80) usually requires accessing different domain names or ports to access different websites (specifically, different directories in the server). At this time, you need to set up a website space. Usually divided into three types: domain name-based, port-based, IP-based and their mixture.

To put it simply, Apache virtual host is to configure multiple virtual spaces on an Apache server to implement one server to provide multi-site services. In fact, it is to access different directories on the same server.

For more technical articles related to Apache, please visit theApache Tutorialcolumn to learn!

The above is the detailed content of What is apache virtual host. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn