Question
Serve java application on port 8080 as default and blog.mydomain on port 80
Hi.
My full application is a mix of a Wordpress blog and a Java application.
I'm running Apache and Apache Tomcat on the same droplet. In this way, if I try http://mydomain.com it runs my Wordpress blog, and if I try http://mydomain.com:8080 it runs my Java application. Both applications are running fine.
But what I need is:
- http://mydomain.com runs the Java application;
- http://blog.mydomain.com runs the Wordpress blog;
Is there anyway to do that with DNS or a virtual server? I'm very confused of how do I configure my Apache server to do that.
Thanks a lot.
Add a comment
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×