how to configure Embedded Tomcat virtual host for Spring Boot Application?

Solution 1:

With Spring Boot embedded Tomcat, you are hosting only one application per servlet container. So I don't believe that Tomcat's concept of Virtual Hosts make sense at all.

If you have to host your app on shared Tomcat instance, just build WAR without embedded container.