Xampp使用Apache配置二级域名,apache怎么配置二级域名?
前提是在服务器供应商 ( 我的是阿里云 ) 将一级域名、二级域名都是用A解析解析在服务器上,可以ping通首先打开 / xampp / apache / conf / httpd.conf// 将下面这行文本注释去掉 注释是用 # 来注释的Include conf/extra/httpd-vhosts.conf然后打开 c / windows / system32 / drivers / etc / hosts 配置 host127.0.0.1 xxx.com # 一级域名127.