| Author |
Use hostname such as "abc.myname.xyz" instead of "localhost:8080" to access Tomcat
|
amar mahtani
Greenhorn
Joined: Feb 08, 2009
Posts: 7
|
|
Hi,
To access the tomcat home page or any web application, I am currently using http://<ipaddress>:8080 or http://<ipaddress>:8080/<project context>.
I would like to know if there is a way to replace the "<ipaddress>:8080" with a more proper host name such as "abc.myname.xyz". I was told I could use the Apache server along with Tomcat to achieve this. But I am not sure how to implement it. If you could please help me in figuring this out, it would be awesome!! Thank you.
Regards,
Amar
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16483
|
|
|
First of all, have you registered the domain "abc.myname.xyz"? And is it configured via DNS to direct requests to your Apache server?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56232
|
|
The use of Apache is not necessary.
As Paul pointed out, this has little to do with your server configuration, and more a matter of external setup.
Visiting a registrar such as GoDaddy is the first step...
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
amar mahtani
Greenhorn
Joined: Feb 08, 2009
Posts: 7
|
|
Hi Paul, I am sorry I had the wrong information regarding Apache. For my requirements I don't actually need to use Apache at all. I just wanted a more intuitive name in order to access tomcat, for that purpose I would need to create a new host name in the DNS and change 8080 to 80 and I am done. However thanks for replying to my post.
Regards,
Amar
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16483
|
|
|
Okay. So, to repeat, have you registered your domain name with the registrar for the "xyz" top-level domain?
|
 |
 |
|
|
subject: Use hostname such as "abc.myname.xyz" instead of "localhost:8080" to access Tomcat
|
|
|