You will need to set your application as ROOT in order for it to be the default application.
>> how to do that ??? Is there any configuration file should edit? Please give me some URL to configure this. On Mon, Aug 19, 2013 at 11:10 PM, David kerber <dcker...@verizon.net> wrote: > On 8/19/2013 1:27 PM, Karuppu Samy wrote: > >> Hi Chris, >> >> Let me explain you clearly. >> >> I have centos with cPanel which comes with tomcat 7. I have installed >> tomcat 7 now. >> >> My query is, After deploy the application through tomcat manager, I am >> able >> to access the application through http://IP_address:8080/** >> application_name <http://IP_address:8080/application_name> >> >> I don't want to access through port number instead of that I would like to >> access the application through http://www.yourdomain.com .. Is that >> possible??? If so, please let me know exact configuration should I need to >> edit..???? >> > > That is a DNS issue, not a Tomcat one. If, from the client machine you > are using, http://www.yourdomain.com resolves to http://IP_address, then > it will work. However, you will need to specify the port in either case, > because there is no way that "www.yourdomain.com" will resolve to > "IP_address:8080". You will need to set your application as ROOT in order > for it to be the default application. > > > > > >> >> On Mon, Aug 19, 2013 at 7:23 PM, Christopher Schultz < >> ch...@christopherschultz.net> wrote: >> >> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA256 >>> >>> Karuppu, >>> >>> On 8/19/13 9:49 AM, Christopher Schultz wrote: >>> >>>> Karuppu, >>>> >>>> On 8/16/13 9:51 PM, Karuppu Samy wrote: >>>> >>>>> 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. >>>>> >>>> >>>> Any help will highly appreciated :) >>>>> >>>> >>>> This sounds like a cPanel question, not a Tomcat one. >>>> >>> >>> Sorry... hit CTRL-ENTER instead of just ENTER and prematurely sent my >>> message. >>> >>> 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/ ? >>> >>> - -chris >>> -----BEGIN PGP SIGNATURE----- >>> Version: GnuPG v1.4.14 (Darwin) >>> Comment: GPGTools - http://gpgtools.org >>> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ >>> >>> iQIcBAEBCAAGBQJSEiNhAAoJEBzwKT**+**lPKRY4LoQALpz8eKvsTviWTWbdICXP**Lft >>> HjNYVBny26TaDQyQMZmHfYF/**zW0d8SWtb7Z+**ebCxbB5hCsJ7K1EOUFbngedEtGVo >>> H8488QaYudX82PgbDoy9qfJ7l3p+**p4aL3OGLMNtkrj5Foy5b3BXbL8+**EMl3q4Kkt >>> rw941Xqd5JVjPChw/**z0L9KPW4QqiJNaTXR79++**nJaG4HMkZcs06+q+cKoDP1gl3K >>> 6N+**Ql2mwgw8vpwkq8xw1OVuzDdOo0zfhM**3Wr32+Rc/**JWrJEv7vtz8NgrlekbSb67 >>> KFlMb5iR+lO7UkNYc9dJVGgiOHC/**0mbeCzu5+**ncO7My8K0pJ67O8SpU1cQc56wuY >>> vCz7lDf6LeLZxW8zjx+**Wd0mdScxj8b98oDPD9miuAwgN9Nk6W**LZMsA0o3Jv1vYea >>> 6/W+O+**Za5kQ1g5aRmq80xuKoDH40eg1DtQ2t**PZNdbsAXHI8Ba3KkUfzknbFGeG3K >>> LgBmh879IUtEltGbe6Rf7fuOQkFQqc**kbzB2x3g4jRnoqIST6ZDQ3DlTLw347**Mosz >>> a7gmW8MEY9BTH+R9NH/**sO7tKds7jpYIhzgb3yIShXCGzcta/**UMDsYplfE0wgvKqf >>> diclwNfWCN5OCXFcFaMPNZcAnIJWWn**AGW//**bmIZQAdo3LzhZCx5v6aQmLkD6FSee >>> GEhe9xdSAp4QYxa5FCpb >>> =XS8y >>> -----END PGP SIGNATURE----- >>> >>> ------------------------------**------------------------------** >>> --------- >>> To unsubscribe, e-mail: >>> users-unsubscribe@tomcat.**apache.org<users-unsubscr...@tomcat.apache.org> >>> For additional commands, e-mail: users-h...@tomcat.apache.org >>> >>> >>> >> > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > users-unsubscribe@tomcat.**apache.org<users-unsubscr...@tomcat.apache.org> > For additional commands, e-mail: users-h...@tomcat.apache.org > >