Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Changing the URL.

 
Mohit Agarwal
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using Tomcat -5.0.25 , i had made an application named PED and placed it in the webapps so when i type http://localhost:8080/PED . The application is working fine. Now what i want is to do something so that when i type www.PED.com , the application should run. For this i read the Tomcat Docs came to know about Alias Tag in HOST. And also of appBase attribute form where our applications are found. I put the Alias Tag and gave the hello. And also changed the appBase attrib. to webapps/PED . Now i thought that writing http://hello:8080 would start my application but that didn't happened.Even only placing the Alias tag and trying http://hello:8080/PED didn't work . Please let me know about this and also how the port is mapped .
ALso if possible let me know abt how SSL can be employed.
I am in immediate need.
Please help me out.

Thanks in advance.

Bye
Mohit.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65658
129
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please continue any discussion in the Tomcat forum.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!