Tomcat: Website not showing after adding alias domain in DirectAdmin

the original domain is mdmecard.com

the added domain alias is libertyland.com.tw

Its still not working, why? simple, just add the <Alias>libertyland.com.tw</Alias>
in server.xml tomcat/conf/server.xml

<Host name="mdmecard.com" appBase="/home/mdmecard/domains/mdmecard.com/public_html/" autoDeploy="true" deployOnStartup="true" deployXML="true" unpackWARs="true" xmlNamespaceAware="false" xmlValidation="false">
<Alias>www.mdmecard.com</Alias>
<Alias>libertyland.com.tw</Alias>
<Alias>www.libertyland.com.tw</Alias>
<Valve className="org.apache.catalina.valves.AccessLogValve" prefix="to" directory="/home/mdmecard/domains/mdmecard.com/logs"/>
<Context path="/manager" docBase="/usr/local/tomcat/server/webapps/mana"
<Context path="" docBase="/home/mdmecard/domains/mdmecard.com/public_ht"
</Host>


kudos HMLee

//alak

Comments

Popular posts from this blog

Check SecStore KeyPhrase of Java Stack

Windows 2003 W2k3 Getting Current MTU Size

Python: thread.error: can't start new thread