如果你安装的是wampserver集成的那你就进入wampinapacheApache2.2. 11confextrahttpd-vhosts.conf配置文件进行如下配置 意思是配置3个虚拟主机分别是
1 website. localhost:8080 C:Users . zhangDocumentsWebsiteDHR32 tools. localhost:8080 C:Users . zhangDocumentsTools 3 test. localhost:8080 C:TestPhppublic
//////////////////////////////
ServerName website. localhost
ServerAdmin webmaster@test. tools.directhr.net
DocumentRoot "C:Users . zhangDocumentsWebsiteDHR3"
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
ErrorLog "logs/test. tools.directhr.net-error. log"
CustomLog "logs/test. tools.directhr.net-access. log" common
ServerName tools. localhost
ServerAdmin webmaster@test. tools.directhr.net
DocumentRoot "C:Users . zhangDocumentsTools"
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
ErrorLog "logs/test. tools.directhr.net-error. log"
CustomLog "logs/test. tools.directhr.net-access. log" common ServerName test. localhost
ServerAdmin webmaster@test. tools.directhr.net
DocumentRoot "C:TestPhppublic"
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
ErrorLog "logs/test. tools.directhr.net-error. log"
CustomLog "logs/test. tools.directhr.net-access. log" common 还有件重要的事情是配置C:WindowsSystem32driversetchosts 将如下内容黏贴就行了
127.0.0. 1 tools. localhost
127.0.0. 1 website. localhost
127.0.0. 1 test. localhost
知了云(https://www. zllyun.com) 行业领先的企业级云计算服务平台提供基于OpenStack构建的云服务器、香港云服务器、香港服务器、贵阳服务器、重庆服务器的租用和托管服务
傲游主机怎么样?傲游主机是一家成立于2010年的老牌国外VPS服务商,在澳大利亚及美国均注册公司,是由在澳洲留学的害羞哥、主机论坛知名版主组长等大佬创建,拥有多家海外直连线路机房资源,提供基于VPS主机和独立服务器租用等,其中VPS基于KVM或者XEN架构,可选机房包括中国香港、美国洛杉矶、韩国、日本、德国、荷兰等,均为CN2或者国内直连优秀线路。傲游主机提供8折优惠码:haixiuge,适用于全...
Sharktech(鲨鱼服务器商)我们还是比较懂的,有提供独立服务器和高防服务器,而且性价比都还算是不错,而且我们看到有一些主机商的服务器也是走这个商家渠道分销的。这不看到鲨鱼服务器商家洛杉矶独立服务器纷纷促销,不限制流量的独立服务器起步99美元,这个还未曾有过。第一、鲨鱼机房服务器方案洛杉矶机房,默认1Gbps带宽,不限流量,自带5个IPv4,免费60Gbps / 48Mpps DDoS防御。C...
华纳云双11钜惠出海:CN2海外物理服务器终身价688元/月,香港/美国机房,免费送20G DDos防御,50M CN2或100M国际带宽可选,(文内附带测评)华纳云作为一家专业的全球数据中心基础服务提供商,总部在香港,拥有香港政府颁发的商业登记证明,APNIC 和 ARIN 会员单位。主营香港服务器、美国服务器、香港/美国OpenStack云服务器、香港高防物理服务器、美国高防服务器、香港高防I...