Allow end-users to access semarchy directly using the URL of the Tomcat server
Cédric BLANC
started a topic
over 4 years ago
How can my end-users access semarchy directly using the url of my tomcat server without the application name in the end? I would like https://semarchy.<domain>/ rather than https://<domain>/semarchy
Best Answer
C
Cédric BLANC
said
over 4 years ago
There are a number of parts to that question.
The host name
For https://semarchy.customerdomain.com to resolve, you will need to ask your network administrators to add "semarchy" as a host (or an alias for the existing host entry) in your company's domain "customerdomain.com".
The default port
To get tomcat to respond to requests on the default ports (80 or 443) you will need to change the port in Tomcat's configuration file and on Linux servers, Tomcat will have to be started by the root (privileged) user as only privileged users can listen to port number in the 1-1024 range.
For enterprises, this is often handled by the load balancer.
The context
Typically, users connect to http://myhost.mydomain.com/semarchy. In this example "semarchy" is what is called the context of the application server and is configurable when you deploy the application.
However, if you wish to make the "semarchy" disappear so that the application is accessible directly from the URL http://myhost.mydomain.com you will need to replace what is called the ROOT Web App (which is automatically deployed when you install Tomcat). Again, there are instructions and examples of how to do this on the web. Here is one such example.
Considering the case where your application should be the root url on tomcat, below are the steps to follow:
Stop and Undeploy the "/" and "semarchy" application from tomcat manager.
3. Restart your application and access you domain name which will redirect you to semarchy application.
1 Comment
Cédric BLANC
said
over 4 years ago
Answer
There are a number of parts to that question.
The host name
For https://semarchy.customerdomain.com to resolve, you will need to ask your network administrators to add "semarchy" as a host (or an alias for the existing host entry) in your company's domain "customerdomain.com".
The default port
To get tomcat to respond to requests on the default ports (80 or 443) you will need to change the port in Tomcat's configuration file and on Linux servers, Tomcat will have to be started by the root (privileged) user as only privileged users can listen to port number in the 1-1024 range.
For enterprises, this is often handled by the load balancer.
The context
Typically, users connect to http://myhost.mydomain.com/semarchy. In this example "semarchy" is what is called the context of the application server and is configurable when you deploy the application.
However, if you wish to make the "semarchy" disappear so that the application is accessible directly from the URL http://myhost.mydomain.com you will need to replace what is called the ROOT Web App (which is automatically deployed when you install Tomcat). Again, there are instructions and examples of how to do this on the web. Here is one such example.
Considering the case where your application should be the root url on tomcat, below are the steps to follow:
Stop and Undeploy the "/" and "semarchy" application from tomcat manager.
Cédric BLANC
How can my end-users access semarchy directly using the url of my tomcat server without the application name in the end? I would like https://semarchy.<domain>/ rather than https://<domain>/semarchy
There are a number of parts to that question.
The host name
For https://semarchy.customerdomain.com to resolve, you will need to ask your network administrators to add "semarchy" as a host (or an alias for the existing host entry) in your company's domain "customerdomain.com".
The default port
To get tomcat to respond to requests on the default ports (80 or 443) you will need to change the port in Tomcat's configuration file and on Linux servers, Tomcat will have to be started by the root (privileged) user as only privileged users can listen to port number in the 1-1024 range.
For enterprises, this is often handled by the load balancer.
The context
Typically, users connect to http://myhost.mydomain.com/semarchy. In this example "semarchy" is what is called the context of the application server and is configurable when you deploy the application.
The easy way to do this is to redirect Tomcat's default page to http://myhost.mydomain.com/semarchy/welcome. Here's a tutorial showing you how to do this.
However, if you wish to make the "semarchy" disappear so that the application is accessible directly from the URL http://myhost.mydomain.com you will need to replace what is called the ROOT Web App (which is automatically deployed when you install Tomcat). Again, there are instructions and examples of how to do this on the web. Here is one such example.
Considering the case where your application should be the root url on tomcat, below are the steps to follow:
2. Deploy "semarchy.war" and "semarchy.xml" on "root" location as below:
3. Restart your application and access you domain name which will redirect you to semarchy application.
Cédric BLANC
There are a number of parts to that question.
The host name
For https://semarchy.customerdomain.com to resolve, you will need to ask your network administrators to add "semarchy" as a host (or an alias for the existing host entry) in your company's domain "customerdomain.com".
The default port
To get tomcat to respond to requests on the default ports (80 or 443) you will need to change the port in Tomcat's configuration file and on Linux servers, Tomcat will have to be started by the root (privileged) user as only privileged users can listen to port number in the 1-1024 range.
For enterprises, this is often handled by the load balancer.
The context
Typically, users connect to http://myhost.mydomain.com/semarchy. In this example "semarchy" is what is called the context of the application server and is configurable when you deploy the application.
The easy way to do this is to redirect Tomcat's default page to http://myhost.mydomain.com/semarchy/welcome. Here's a tutorial showing you how to do this.
However, if you wish to make the "semarchy" disappear so that the application is accessible directly from the URL http://myhost.mydomain.com you will need to replace what is called the ROOT Web App (which is automatically deployed when you install Tomcat). Again, there are instructions and examples of how to do this on the web. Here is one such example.
Considering the case where your application should be the root url on tomcat, below are the steps to follow:
2. Deploy "semarchy.war" and "semarchy.xml" on "root" location as below:
3. Restart your application and access you domain name which will redirect you to semarchy application.
-
xDM on Docker
-
Application Server Gives 404 Error
-
Change Prod Repository Type Without Reinstallation
-
Enable Access to Azure File Storage?
-
Why am I getting Status 404 -- Not Found Error on Azure?
-
Resolve "Unable to Create Work Directory" Error
-
What's the default font for Semarchy application?
-
Plain Text Password in Tomcat Config Files
-
How Can I Resolve "CREATE TABLE permission denied" error in SQL Server?
-
How to resolve 'This stream is not writable' Tomcat error?
See all 16 topics