Apache virtual directory and multi-port multiple host name configuration

Source: Internet
Author: User

Apache is the world's most used Web server software. It can run on almost all widely used computer platforms and is one of the most popular Web server-side software due to its widespread use across platforms and security. It is fast, reliable, and can be augmented with simple APIs to compile perl/python and other interpreters into the server.

Since the HTTPD service is not installed, use the Xshell connection to modify its configuration file as shown in the directory.

Turn on Web services after modification and turn off firewall and enhanced security features as shown in

Open Web page validation as shown in

Create a home page as shown

Open the Web page to verify as shown in

Return to the previous level directory as shown in

Create the virtual directory as shown in

Create a directory write a test redirect to the directory as shown in

Open the Web page to verify as shown in

Turn on authentication as shown

Create a HT account and password to verify as shown

Open Web page validation as shown in

For the creation of different host names for the same IP as shown in

Install the DNS Service pack as shown in

Modify the DNS master configuration file as shown in

Modify the DNS zone configuration file as shown in

Copy the zone data file and configure it as shown

Restart the DNS service and test to see if it can be parsed as shown

The configuration for the same host name with the same IP for the different port numbers as shown

Create a directory of different hostnames and write a test content redirect to the directory as shown in

Add a port number for the listening address as shown in

Open the Web page to verify as shown in


Apache virtual directory and multi-port multiple host name 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.