The Hosts file is under C:\Windows\system32\drivers\etc\hosts.
With a CMS software system, do a number of sites, unified management, users can communicate, this is called the station group function. This can save a lot of time for operations and maintenance, or it can be difficult to debug and maintain different systems at the same time.
I am using phpcms v9 do onow Chinese network (www.onow.cn), intends to try the next station group function, the new station name is "You guess you guess you guess", the domain name www.nicainicainicaicaicai.com , Domain name is very perverted, it is "you guess you guess you guess guess" the whole spell.
First, create a new site in Phpcms V9.
PHPCMS Admin Center >> Settings >> site management >> Add new site
Fill in the instructions as appropriate.
When you're done adding, you'll see a few things in the list of site administration
Domain Name binding directory is/HTML/NICAI need to bind the nicainicainicaicaicai.com site's home directory to/html/nicai on the Web server (IIS or Apache)
Then switch to the new site in the PHPCMS Admin Center, click the black triangle next to "default site" and build the corresponding columns.
Note that the column Properties >> generate HTML settings in the "column generated HTML" selected "Yes", "content page generated HTML" selected "Yes". If it is not, the address of the content page will not be under the nicainicainicaicaicai.com domain name, the display is www.onow.cn .
<virtualhost 127.0.0.1> documentroot "d:/wamp/www" ServerName 127.0.0.1</virtualhost> <virtualhost 192.168.1.11> documentroot "D:/wamp/www/record" ServerName b.com</virtualhost ><virtualhost 192.168.1.11> documentroot "d:/wamp/www/latest" ServerName c.com</ Virtualhost>
Establishment of sub-stations using PHPCMS V9 Station Group function