You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kernel freak <ke...@gmail.com> on 2014/11/25 13:25:22 UTC

Redirecting to default webapp when domain name is entered

Hello friends,

I already have a project ready for deployment. It is in the form of war
file. Currently I have renamed the war file to ROOT.war and pasted it
inside webapps. I am able to access the webapp by giving domainname.com:8080.


Instead of that I would just like to use domainname.com and it should go to
the webapp. Thank you very much.

System : Debian Wheezy(64 bit)
Apache tomcat : 7.0

Re: Redirecting to default webapp when domain name is entered

Posted by David kerber <dc...@verizon.net>.
On 11/25/2014 8:52 AM, Kernel freak wrote:
> Hello,
>
> I have already bought the domain name and the domain-id. Its a dedicated
> hosting, and the plan says its allowed to use Apache tomcat. Can you please
> tell me what to do to disable the service on port80?

If you don't know, we certainly don't, and you'll need to ask the 
hosting company what the service is, and how to control it.  If you have 
access to the system's configuration settings, you may be able to figure 
out what the service is that is using port 80 (httpd, IIS, or whatever) 
and disable it.  It has nothing to do with Tomcat.


>
> On Tue, Nov 25, 2014 at 2:43 PM, David kerber <dc...@verizon.net> wrote:
>
>> On 11/25/2014 8:39 AM, Kernel freak wrote:
>>
>>> Hello Andre,
>>>
>>> Thank you. I did the changes what you told, but I guess there is some
>>> service running at port 80. Because now when I click domainname.com:80,
>>> it
>>> shows me the message by the hosting company as the "Domain name is already
>>> booked" and all. How can I remove that service which is listening port 80?
>>>
>>
>> You'll have to ask the hosting company.  It may be difficult to convince
>> them to allow this.
>>
>>
>>
>>
>>> On Tue, Nov 25, 2014 at 1:43 PM, André Warnier <aw...@ice-sa.com> wrote:
>>>
>>>   Kernel freak wrote:
>>>>
>>>>   Hello friends,
>>>>>
>>>>> I already have a project ready for deployment. It is in the form of war
>>>>> file. Currently I have renamed the war file to ROOT.war and pasted it
>>>>> inside webapps. I am able to access the webapp by giving
>>>>> domainname.com:8080.
>>>>>
>>>>>
>>>>> Instead of that I would just like to use domainname.com and it should
>>>>> go
>>>>> to
>>>>> the webapp. Thank you very much.
>>>>>
>>>>> System : Debian Wheezy(64 bit)
>>>>> Apache tomcat : 7.0
>>>>>
>>>>>
>>>>>   8080 is the port on which Tomcat is listening for requests.
>>>> That depends on your own configuration of Tomcat.
>>>> In the server.xml file, look for the HTTP <Connector> tag, and the
>>>> 'port="8080"' indicated there.
>>>> If there is nothing else on that system that is already using port 80
>>>> (another webserver like Apache httpd for example), then change this
>>>> Tomcat
>>>> port to be 80, save the server.xml file,  restart Tomcat and that's it
>>>> (basically).
>>>> If Tomcat does not start, look in its logfiles why, and if you do not
>>>> understand it, copy the relevant part of the log in a new email to the
>>>> list.
>>>>
>>>> If there is already something else on the system listening to port 80,
>>>> then it is quite a bit more complicated..
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>
>>>>
>>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Redirecting to default webapp when domain name is entered

Posted by Kernel freak <ke...@gmail.com>.
Hello,

I have already bought the domain name and the domain-id. Its a dedicated
hosting, and the plan says its allowed to use Apache tomcat. Can you please
tell me what to do to disable the service on port80?

On Tue, Nov 25, 2014 at 2:43 PM, David kerber <dc...@verizon.net> wrote:

> On 11/25/2014 8:39 AM, Kernel freak wrote:
>
>> Hello Andre,
>>
>> Thank you. I did the changes what you told, but I guess there is some
>> service running at port 80. Because now when I click domainname.com:80,
>> it
>> shows me the message by the hosting company as the "Domain name is already
>> booked" and all. How can I remove that service which is listening port 80?
>>
>
> You'll have to ask the hosting company.  It may be difficult to convince
> them to allow this.
>
>
>
>
>> On Tue, Nov 25, 2014 at 1:43 PM, André Warnier <aw...@ice-sa.com> wrote:
>>
>>  Kernel freak wrote:
>>>
>>>  Hello friends,
>>>>
>>>> I already have a project ready for deployment. It is in the form of war
>>>> file. Currently I have renamed the war file to ROOT.war and pasted it
>>>> inside webapps. I am able to access the webapp by giving
>>>> domainname.com:8080.
>>>>
>>>>
>>>> Instead of that I would just like to use domainname.com and it should
>>>> go
>>>> to
>>>> the webapp. Thank you very much.
>>>>
>>>> System : Debian Wheezy(64 bit)
>>>> Apache tomcat : 7.0
>>>>
>>>>
>>>>  8080 is the port on which Tomcat is listening for requests.
>>> That depends on your own configuration of Tomcat.
>>> In the server.xml file, look for the HTTP <Connector> tag, and the
>>> 'port="8080"' indicated there.
>>> If there is nothing else on that system that is already using port 80
>>> (another webserver like Apache httpd for example), then change this
>>> Tomcat
>>> port to be 80, save the server.xml file,  restart Tomcat and that's it
>>> (basically).
>>> If Tomcat does not start, look in its logfiles why, and if you do not
>>> understand it, copy the relevant part of the log in a new email to the
>>> list.
>>>
>>> If there is already something else on the system listening to port 80,
>>> then it is quite a bit more complicated..
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Redirecting to default webapp when domain name is entered

Posted by David kerber <dc...@verizon.net>.
On 11/25/2014 8:39 AM, Kernel freak wrote:
> Hello Andre,
>
> Thank you. I did the changes what you told, but I guess there is some
> service running at port 80. Because now when I click domainname.com:80, it
> shows me the message by the hosting company as the "Domain name is already
> booked" and all. How can I remove that service which is listening port 80?

You'll have to ask the hosting company.  It may be difficult to convince 
them to allow this.


>
> On Tue, Nov 25, 2014 at 1:43 PM, André Warnier <aw...@ice-sa.com> wrote:
>
>> Kernel freak wrote:
>>
>>> Hello friends,
>>>
>>> I already have a project ready for deployment. It is in the form of war
>>> file. Currently I have renamed the war file to ROOT.war and pasted it
>>> inside webapps. I am able to access the webapp by giving
>>> domainname.com:8080.
>>>
>>>
>>> Instead of that I would just like to use domainname.com and it should go
>>> to
>>> the webapp. Thank you very much.
>>>
>>> System : Debian Wheezy(64 bit)
>>> Apache tomcat : 7.0
>>>
>>>
>> 8080 is the port on which Tomcat is listening for requests.
>> That depends on your own configuration of Tomcat.
>> In the server.xml file, look for the HTTP <Connector> tag, and the
>> 'port="8080"' indicated there.
>> If there is nothing else on that system that is already using port 80
>> (another webserver like Apache httpd for example), then change this Tomcat
>> port to be 80, save the server.xml file,  restart Tomcat and that's it
>> (basically).
>> If Tomcat does not start, look in its logfiles why, and if you do not
>> understand it, copy the relevant part of the log in a new email to the list.
>>
>> If there is already something else on the system listening to port 80,
>> then it is quite a bit more complicated..
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Redirecting to default webapp when domain name is entered

Posted by Kernel freak <ke...@gmail.com>.
Hello Andre,

Thank you. I did the changes what you told, but I guess there is some
service running at port 80. Because now when I click domainname.com:80, it
shows me the message by the hosting company as the "Domain name is already
booked" and all. How can I remove that service which is listening port 80?

On Tue, Nov 25, 2014 at 1:43 PM, André Warnier <aw...@ice-sa.com> wrote:

> Kernel freak wrote:
>
>> Hello friends,
>>
>> I already have a project ready for deployment. It is in the form of war
>> file. Currently I have renamed the war file to ROOT.war and pasted it
>> inside webapps. I am able to access the webapp by giving
>> domainname.com:8080.
>>
>>
>> Instead of that I would just like to use domainname.com and it should go
>> to
>> the webapp. Thank you very much.
>>
>> System : Debian Wheezy(64 bit)
>> Apache tomcat : 7.0
>>
>>
> 8080 is the port on which Tomcat is listening for requests.
> That depends on your own configuration of Tomcat.
> In the server.xml file, look for the HTTP <Connector> tag, and the
> 'port="8080"' indicated there.
> If there is nothing else on that system that is already using port 80
> (another webserver like Apache httpd for example), then change this Tomcat
> port to be 80, save the server.xml file,  restart Tomcat and that's it
> (basically).
> If Tomcat does not start, look in its logfiles why, and if you do not
> understand it, copy the relevant part of the log in a new email to the list.
>
> If there is already something else on the system listening to port 80,
> then it is quite a bit more complicated..
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Redirecting to default webapp when domain name is entered

Posted by André Warnier <aw...@ice-sa.com>.
Kernel freak wrote:
> Hello friends,
> 
> I already have a project ready for deployment. It is in the form of war
> file. Currently I have renamed the war file to ROOT.war and pasted it
> inside webapps. I am able to access the webapp by giving domainname.com:8080.
> 
> 
> Instead of that I would just like to use domainname.com and it should go to
> the webapp. Thank you very much.
> 
> System : Debian Wheezy(64 bit)
> Apache tomcat : 7.0
> 

8080 is the port on which Tomcat is listening for requests.
That depends on your own configuration of Tomcat.
In the server.xml file, look for the HTTP <Connector> tag, and the 'port="8080"' indicated 
there.
If there is nothing else on that system that is already using port 80 (another webserver 
like Apache httpd for example), then change this Tomcat port to be 80, save the server.xml 
file,  restart Tomcat and that's it (basically).
If Tomcat does not start, look in its logfiles why, and if you do not understand it, copy 
the relevant part of the log in a new email to the list.

If there is already something else on the system listening to port 80, then it is quite a 
bit more complicated..

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org