After centos installed on a virtual machine under win7 and set up the domain name, the browser can use the ip to access the site, but can not access the site through the domain name ?
answer:
1. Now the virtual machine configured domain names point to web directory
2. Then in a native virtual machine hosts file ip (192.168.xx.xx) points to the domain name. In the hosts file configuration is invalid virtual machine.