virtualhost - Tomcat 7 and Virtual hosts -


i trying ti set 2 separate sites on 1 tomcat server using virtual hosting. have following in server.xml file

    <host name="localhost"  appbase="webapps"         unpackwars="true" autodeploy="true">   </host> <host name="domain1.com"  appbase="/usr/local/apache-tomcat-7.0.53/webapps/domain1"         unpackwars="true" autodeploy="true"> <alias>www.domain1.com</alias> </host> 

i can browse ip_address/domain1, when try go directly domain1.com page not found. missing?

thank you.

can not comment therefore using answer section.

please verify if have added "domain1.com" host file. port should specified while opening link browser.


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -