Thursday, April 25, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 3199  / 3 Years ago, mon, may 24, 2021, 9:53:15

I have made a private cloud using ubuntu 12.04 LTS. I have a maas main server. On that server, I want to host my web application written with java, tomcat and mysql. My maas main server ip address is 192.168.43.191 and dns name is ubuntucloud. So, when I call it from browser like (http: ubuntucloud), I can reach and see "It's work. This is the default web page for this server. The web server software is running but no content has been added yet" sentences. I can call my web application like (http: ubuntucloud:8080/IRMultiAgent/) while running tomcat server in eclipse. I want to call my web app like (http://www.ir_multi_agent/). How to do this? ps: I omit some "/" in my post, because of error


More From » server

 Answers
3

You can configure your Apache web server to forward requests to Tomcat using mod_jk (The Apache Tomcat Connector). Setup an Apache vhost which acts as some kind of proxy to speak to Tomcat and is also able to rewrite the URL. Thus, ubuntucloud:8080/IRMultiAgent/ can be accessed at e.g. irmultiagent.ubuntucloud/ (Smart HowTo)



Since you already configured the domain ubuntucloud to point to your server, you should be able to also setup such a DNS for ir_multi_agent. Both can point to the same IP. Just make sure to configure the ServerName of the vhosts directives in the Apache configuration correctly.


[#29174] Wednesday, May 26, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
kneducator

Total Points: 226
Total Questions: 111
Total Answers: 108

Location: Mexico
Member since Sun, Jul 25, 2021
3 Years ago
;