nginx - Tomcat multiple domains Jelastic tutorial -
i've tried follow jelastic 'multiple domains' tutorial, got no success.
http://docs.jelastic.com/multiple-domains2
i deployed 2 applications different contexts, mapped cname in dns record, edited server.xml , added host entries. i'm getting error when trying access:
502 bad gateway nginx/1.4.0
here server.xml entries:
<host name="urbanistico.com.br" appbase="webapps/urbanistico" autodeploy="true"> <alias>urbanistico.com.br</alias> <context path="" docbase="${catalina.base}/webapps/urbanistico" /> </host> <host name="smarttrade.com.br" appbase="webapps/st" autodeploy="true"> <alias>smarttrade.com.br</alias> <context path="" docbase="${catalina.base}/webapps/st" /> </host>
the applications deployed as:
webapps/urbanistico webapps/st
does knows why happening. i've double checked configuration , looks fine.
i have reproduced manual described @ http://docs.jelastic.com/multiple-domains2. settings fine me. binned domains in dashboard www. or without it?
you can submit support ticket hosting provider, helps sure.
Comments
Post a Comment