tomcat configure access by domain name project, is to modify the conf / server.xml configuration inside information to achieve.
details as follows:
port attribute value (1) to modify the node Connector
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
Port 8080 changed 80
<Connector port="80" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
name attribute value (2) Modify Engine node
<Engine name="Catalina" defaultHost="localhost">
localhost modified domain, here assumed to be xxx.com
<Engine name="Catalina" defaultHost="xxx.com">
(3) modify the node name attribute value Host
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">
localhost modified to domain name
<Host name="xxx.com" appBase="webapps" unpackWARs="true" autoDeploy="true">
(4) in the last position <Host name = "xxx.com" ... </ Host> node inside with node information, docBase absolute path for the project
<Context path="" docBase ="D:\deploy\cm" reloadable="false"></Context>
Finally, ping the domain name corresponding IP is how much, if IP is not the current IP web server, you need to modify the network configuration IT.