Hi,
I don't know if this is ebase stuff or tomcat, but what I want is something like this:
I have 2 ebase webapps say myapp1 and myapp2, now I want that instead the user has to enter http://mydomain.com:xxxx/ebase/myapp1.eb or http://mydomain.com:xxxx/ebase/myapp2.eb, he can enter something like this: http://myapp1.mydomain.com:xxxx/ or http://myapp2.mydomain.com:xxxx/
Even if possible I want to remove the port so it just http://myapp1.mydomain.com/ or http://myapp2.mydomain.com
Is it possible doing it? How?
Thanks in advance for the help.
each webapp placed as a subdomain
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 305
- Joined: Thu Jul 02, 2015 8:32 am
- Location: Indonesia
-
- Ebase User
- Posts: 331
- Joined: Mon Mar 10, 2014 8:34 am
This sounds more like a DNS / proxy query.
You can change the port to standard 80 in Tomcat's configuration so the port can be dropped. See http://stackoverflow.com/questions/4756 ... 8080-to-80
We stick with Ebase ports but have DNS and NetScaller settings to point sub domains at our Tomcat instance.
By the looks of things you have 2 forms within a single Ebase instance.
You can change the port to standard 80 in Tomcat's configuration so the port can be dropped. See http://stackoverflow.com/questions/4756 ... 8080-to-80
We stick with Ebase ports but have DNS and NetScaller settings to point sub domains at our Tomcat instance.
By the looks of things you have 2 forms within a single Ebase instance.
0 x
-
- Ebase User
- Posts: 305
- Joined: Thu Jul 02, 2015 8:32 am
- Location: Indonesia
AFAIK, DNS just doing a pointer to which ip the requested should be directed, and it is the task of the webserver to which webapp the request should be directed.
I don't know if the term of form you mention is the same with my understanding of the ebase form so far.
If what you mean with form is the same with ebase form which can consist more than one pages, then I have more than 1 form within a project. I always thought that webapp is the same with project.
I don't know if the term of form you mention is the same with my understanding of the ebase form so far.
If what you mean with form is the same with ebase form which can consist more than one pages, then I have more than 1 form within a project. I always thought that webapp is the same with project.
0 x
-
- Ebase User
- Posts: 331
- Joined: Mon Mar 10, 2014 8:34 am
Have a look at Tomcat virtual hosts. I've not done it but by the looks of things you can have 2 DNS entries pointing at the same IP address then Tomcat routes the request
https://tomcat.apache.org/tomcat-7.0-do ... /host.html
https://tomcat.apache.org/tomcat-7.0-do ... howto.html
I'm not sure whether the appbase can be the same for each host though, also whether the appbase can go as far as a page.
As for terms, I guess you were querying
Just for fun you could have several Tomcat installations on a single server (different port) and then you could have several Ebase installations under a single Tomcat (different webapp eg ebasex and ebasey).
Normally webapp in Tomcat terms is the Ebase installation not stuff within Ebase.
https://tomcat.apache.org/tomcat-7.0-do ... /host.html
https://tomcat.apache.org/tomcat-7.0-do ... howto.html
I'm not sure whether the appbase can be the same for each host though, also whether the appbase can go as far as a page.
As for terms, I guess you were querying
It looks like you have a single server with a single Tomcat instance and a single Ebase webapp (normal). Your 2 urls suggest 2 forms within your single Ebase installation.By the looks of things you have 2 forms within a single Ebase instance.
Just for fun you could have several Tomcat installations on a single server (different port) and then you could have several Ebase installations under a single Tomcat (different webapp eg ebasex and ebasey).
"I always thought that webapp is the same with project."
Normally webapp in Tomcat terms is the Ebase installation not stuff within Ebase.
0 x
- dvanhussel
- Ebase User
- Posts: 161
- Joined: Fri Oct 19, 2007 12:45 pm
- Location: Haarlem, the Netherlands
Hi,
Are you running on Linux or Windows?
We run Tomcat on Linux and have Apache (the webserver) as a proxy in front of it (using mod_proxy).
If you create 2 virtual hosts in Apache for the 2 domains, you can define in each virtual host to which port/webapp it should proxy the requests.
I'm quite sure you can do the same in IIS, if you are running on Windows.
Are you running on Linux or Windows?
We run Tomcat on Linux and have Apache (the webserver) as a proxy in front of it (using mod_proxy).
If you create 2 virtual hosts in Apache for the 2 domains, you can define in each virtual host to which port/webapp it should proxy the requests.
I'm quite sure you can do the same in IIS, if you are running on Windows.
0 x
-
- Ebase User
- Posts: 305
- Joined: Thu Jul 02, 2015 8:32 am
- Location: Indonesia
Thank you for the link.
Seems that I have to reread the documentation
Steve James wrote:Have a look at Tomcat virtual hosts. I've not done it but by the looks of things you can have 2 DNS entries pointing at the same IP address then Tomcat routes the request
https://tomcat.apache.org/tomcat-7.0-do ... /host.html
https://tomcat.apache.org/tomcat-7.0-do ... howto.html
Seems that I have to reread the documentation

Normally webapp in Tomcat terms is the Ebase installation not stuff within Ebase.
0 x
-
- Ebase User
- Posts: 305
- Joined: Thu Jul 02, 2015 8:32 am
- Location: Indonesia
It's windows server, but we don't use IIS yet. Still using tomcat directly
dvanhussel wrote:Hi,
Are you running on Linux or Windows?
We run Tomcat on Linux and have Apache (the webserver) as a proxy in front of it (using mod_proxy).
If you create 2 virtual hosts in Apache for the 2 domains, you can define in each virtual host to which port/webapp it should proxy the requests.
I'm quite sure you can do the same in IIS, if you are running on Windows.
0 x
Who is online
Users browsing this forum: No registered users and 10 guests