Home  >  Article  >  Backend Development  >  Configure virtual domain name

Configure virtual domain name

WBOY
WBOYOriginal
2016-07-30 13:30:411135browse

Enable apache's mod_rewrite function module



Introduce the http-vhosts.conf file


Add VirtualHost configuration




Configure hosts file



Restart apache

Create a new php file


Visit www.phpexcel.com/index.php


Copyright Statement: This article is an original article by the blogger and may not be reproduced without the permission of the blogger.

The above has introduced the configuration of virtual domain names, including aspects of the content. I hope it will be helpful to friends who are interested in PHP tutorials.

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