Configure the Apache Virtual Host and SSL Based on the local DNS service in Windows XP

Source: Internet
Author: User

Not long ago, I configured Apache's local SSL and virtual host in Ubuntu, and then tried to implement the same configuration in Windows XP, So I encountered a lot of difficulties and obstacles.

Configuring DNS in Ubuntu is very simple. You only need to modify the host file. In XP, many services are not installed by default because they are not server operating systems. The DNS service requires additional installation.

This article describes how to configure the DNS service, Apache Virtual Host, and SSL.

1. Configure the DNS Service

1. Click Start> Run, enter C:/Windows/INF/netoc. inf, and press Enter. Note that Windows is the directory where you install XP.

2. The [optional components] section contains the following content:

[Optional components]
Netoc; top level option
Netservices
Fileandprint
SNMP
......

Add 1 line under netservices
DNS

Save and exit.

3. Copy the netdns. inf file to the C:/Windows/INF directory. The netdns. inf file is included in the DNS compressed package downloaded later.

4. Restart the machine and choose "Control Panel"> "add and delete program"> "add windows component"> "network service". The hidden Domain Name Service System (DNS) is displayed, and click "Install.

5. During the installation process, you will need to insert the system installation disk because you need to install some components in the server system. There may be a few installation files. If you do not have a system CD, download an ISO image file from the Internet. The files extracted by the DNS service have been uploaded to csdn. You can download them at the following link:

Http://download.csdn.net/source/2540306

6. DNS configuration illustration

 

 

 

 

 

 

 

 

 

 

 

 

Ii. Configure the Apache Virtual Host

1.

2.

3.

3. Configure SSL

1.

2.

3.

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.