XAMPP配服务

xampp Config httpd.conf

NameVirtualHost *:80

    DocumentRoot "C:/xampp/htdocs/website/ych"
    ServerName h5.anowl.net

C/Windows/System32/etc/hosts 修改hosts文件

#Copyright (c) 2017-2018, googlehosts members.
#https://github.com/googlehosts/hosts
#Last updated: 2019-03-12

#This work is licensed under a modified HOSTS License.
#https://github.com/googlehosts/hosts/raw/master/LICENSE

#Modified Hosts Start

#Localhost (DO NOT REMOVE) Start
127.0.0.1	h5.anowl.net
#Localhost (DO NOT REMOVE) End

你可能感兴趣的:(前端攻城狮成长记录)