top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Access application using domain name instead of ipaddress

+1 vote

I have cPanel servers which runs on tomcat 7 and installed necessary modules.

But I wanted to know how to access the deployed application using domain name instead of http://IP_address:8080 ? where should change the configuration part?

I have created the domain and assigned dedicated IP address and installed servlets from cPanel.

posted Aug 17, 2013 by Majula Joshi

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

Anyhow, Tomcat in its default configuration will listen on all interfaces and it doesn't matter what hostname (or IP address) you use to access it: you will get a response no matter what (assuming no firewall, etc. is in the way, etc.). If cPanel has changed this configuration, we'll never know so you'll need to ask your provider about that kind of thing.

If you've already set up DNS properly, then Tomcat itself should have no problem. What happens when you just try to visit http://yourhostname:8080/ ?

answer Aug 19, 2013 by Seema Siddique
Similar Questions
+2 votes

I'm running a server with multiple instance of tomcat each instance has some apps deployed & accessed with host:port, like

Is there any way to hide the port from users & making app URL simpler with keeping multi instance? like this or any thing near
+1 vote

For a simple web application, what is the expected delay when switching to new version of an application when using the parallel deployment process? I'm trying to do timings right now with a single Hello World JSP and sometimes there is a delay of up to 4 seconds when the new version of the application is deployed (running 5 users simultaneously using Jmeter with cookies turned off), but other times I don't see this behavior. Does anyone know if it is expected for there to be a slight hiccup in response times when the applications are deployed via parallel deployment? I understand that many applications will have initialization logic and that may cause a delay, but I'm wondering if I should expect tomcat to introduce a very small delay when switching from the old version to the new version and if so, how long should I expect that process to take.

0 votes

I am proposing to have multiple domain name pointing towards a single site. On the site I would like to display the domains name that was used. How can I obtain the name of the domain that the user entered to access my site?

+4 votes

I had developed extension for firefox. In that i used

var cookieManager = Cc[";1"] .getService(Ci.nsICookieManager2); 
var count = cookieManager.getCookiesFromHost("");

to read cookie. Noted in Access Specific cookie.

Now i tried same in private window but i can't able to read a single cookie info.

Kindly suggest me to read a cookie info in main.js, private window.