Virtual Host Configuration

Source: Internet
Author: User

I. Port listening

Port: a number that allows a computer (with only one IP address) to provide multiple services (multiple functions)

Web Service 80

FTP 81

Receive email 110

Email sending 25

MySQL database 3306, but not absolutely !! A computer has about 60 thousand ports, but a server also provides services with over 10 ports.

Apache can be regarded as a waiter. The outside world initiates any request. However, some requests are not within the request range (beyond the port range). Pay attention to httpd. you can change the listen 80 in conf to the port number you need.

Host, that is, the Web site, allows the browser to access the address through the domain name, servername and DocumentRoot are two commonly used configuration items

 

Virtual Host Configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.