• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Use hostname such as "abc.myname.xyz" instead of "localhost:8080" to access Tomcat

 
amar mahtani
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Pie
Posts: 20208
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64205
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
amar mahtani
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Pie
Posts: 20208
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay. So, to repeat, have you registered your domain name with the registrar for the "xyz" top-level domain?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic