I'm having trouble making this configuration, I accessed the Registro.br I have entered the following information:
meudominio.com.br A 00.000.000.000
www.meudominio.com.br CNAME meudominio.com.br
I entered tomcat and entered the following configuration:
<Host name="meudominio.com.br" autoDeploy="true" appBase="webapps">
<Alias> www.meudominio.com.br </Alias>
<Context docBase="meudominio-site" path=""/>
</Host>
In case I uploaded a file called mydomain-site.war now when I access www.mydomain.com it continues giving error:
HTTP Status 404 - Not Found
Type Status Report
Message Not Found
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. Apache Tomcat / 9.0.5
Can anyone help me why he is not doing the targeting?