System: Windows 8.1
Server: Apache
Programming Language: PHP
Demand: Build pan-analytic environment, easy to test, do not know can be realized?
If so, how do you do it?
the current thinking: This machine to build a DNS server, it can be implemented, but my system is Windows 8.1, it seems that can not build DNS
Like what:
Fan.com
Aaa.fan.com
Bbb.fan.com
All resolved to: D:\www\fanjiexi\ directory
Hosts file: 127.0.0.1 fan.com
Reply content:
System: Windows 8.1
Server: Apache
Programming Language: PHP
requirements : To build a pan-analytic environment, easy to test, do not know can be achieved?
If so, how do you do it?
Current Ideas : This machine to build a DNS server, it can be achieved, but my system is Windows 8.1, it seems that can not build DNS
Like what:
Fan.com
Aaa.fan.com
Bbb.fan.com
All resolved to: D:\www\fanjiexi\ directory
Hosts file: 127.0.0.1 fan.com
Re: The Flying Pig
Recommended method
In your native Apache, set up virtual host to write the following configuration to the Apache configuration file according to your own requirements.
Apache
ServerAdmin a@host.example.com DocumentRoot /var/www/xxx你想要解释的文件夹位置 ServerName xxx这个服务器的域名 ErrorLog logs/xxx.log CustomLog logsxxx.log common
=================================
In your DNS server, establish a explained
域名名称 记录类型 主机记录 解析线路 记录值 mx优先级 TTLa.com A * 默认 127.0.0.1 --