Jump to content

how to assign a name to my web application's IP address and port


venkat
 Share

Recommended Posts

Hi all,

If I developed a site and when I obviously run the application (which is developed using JAVA) using, say Tomcat, I do give the ip address and the port number in the address bar to run the appliation.

Now I would like to know that, how to assign a name for my ip address and port jointly so that, as I type the name, it should represent the ip address and port I preferred.

Ex. www.yahoo.com has an ip address and port number assigned to the name "Yahoo". So, for my application say, I want to call it as www.sample.com, "sample" should represent my ip address and port number where the application runs. So, when as soon as I type www.sample.com, MY APPLICATION SHOULD RUN.

Could any one suggest me.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy