添加以下内容
<Host name="www.test.com" appBase="test" unpackWARs="true" autoDeploy="true">
</Host>
name为想要访问的域名 appBase为项目根目录,如默认的webapps