Creating URL for JSP Application

Hi All...
          I've Created a JSP application with Oracle 9i as database and I am using Oracle 9iAS as web server. I've created my application folder in J2EE folder of the 9iAS and put the JSP pages in that. All is running fine, but I am using ip address for accessing the application i.e. http://111.111.111:123/jsee/myfolder/login.jsp.
         I want that rather than giving this url for the application access there should have to be a domain name like http://myaalication.com

Please send me solution for that...
shamakant_sharmaAsked:
Who is Participating?
 
ramazanyichConnect With a Mentor Commented:
Simpliest way is adding myalication.com to your hosts file:
111.111.111.123       myalication.com

on Windows  hosts file is in %WINROOT%/system32/drivers/etc directory
on Unix it is in /etc/hosts

But if you want that everyone can access it by name you should setup DNS server and add your domain and hosts to that DNS server.
0
 
sompol_kiatkamolchaiConnect With a Mentor Commented:
if you use windows, you can use

http://computer-name:port/jsee/my.....
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.