AnsweredAssumed Answered

How to do: tomcat resolve only certain domain name

Question asked by jmanton on Mar 23, 2016
Hi,

i have installed tomcat on ubuntu. I have default config, with localhost on server.xml. My problem is:

I have multiple domains on this server (same IP):

domainA.com
domainB.com
domainC.com

and all of them resolve http://domainX.com:8080/share.

I want that tomcat only works for one of them: "domainA.com"

How can i do this? Where can i config it?

I just tried to modify on server.xml but it does not work.

Please, help me.

Thanks a lot.

Outcomes