Linux installation and configuration tomcat: http://www.cnblogs.com/ysocean/p/6959814.html
The IP can be accessed and the domain name can be pinged but cannot be accessed:
1. Record the ip of the DNS server assigned by the domain name;
2. vim opens the file: vi /etc/resolv.conf
3. Insert a line: nameserver ip of the dns server
4. Restart the network service: service network restart