PHP local domain name resolution tutorial

Source: Internet
Author: User
1. Find C: development. zhosoft. com2. find the C: wampbinapacheapache2.2.22confhttpd. conf file, open the # Virtualhosts # Includeconfextrahttpd-vhosts.conf and modify it to # VirtualhostsInclude

1. find C: \ WINDOWS \ system32 \ drivers \ etc \ hosts 127.0.0.1 localhost 127.0.0.1 www.zhosoft.com 2. find C: \ wamp \ bin \ apache \ apache2.2.22 \ conf \ httpd. conf file, open # Virtual hosts # Include conf/extra/httpd-vhosts.conf to # Virtual hosts Include

1. Find C: \ WINDOWS \ system32 \ drivers \ etc \ hosts

127.0.0.1 localhost

127.0.0.1 www.zhosoft.com

2. Find the C: \ wamp \ bin \ apache \ apache2.2.22 \ conf \ httpd. conf file and open

# Virtual hosts

# Include conf/extra/httpd-vhosts.conf

Change

# Virtual hosts

Include conf/extra/httpd-vhosts.conf

3. Find the file C: \ wamp \ bin \ apache \ apache2.2.22 \ conf \ extra \ httpd-vhosts.conf, open

Last added

ServerAdmin zhosoft@126.com

DocumentRoot "E:/zhosoft"

ServerName www.zhosoft.com

Options Indexes FollowSymLinks

AllowOverride All

Order allow, deny

Allow from all

4. DW website

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.