Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

replace ipaddr and port number in url of a webapp by name

 
Ratan Kumar
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have an application running on unix machine with me

i access it by the url

http://xxx.xxx.xxx.xxx:9080/abc

how can i replace this 'xxx.xxx.xxx.xxx:9080' by some name ...eg:test

so that i can now access it by

http://test/abc


Thanks
 
Venkata Kumar
Ranch Hand
Posts: 110
Firefox Browser Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may replace the ip address by computer name like "http://<computername>:<portnumber>/"

 
Arpit Purohit
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is usually done by using an HTTP server (like Apache ).
Use Virtual Host configuration to map a web application name of your choice with your http://xxx.xxx.xxx.xxx:9080/abc.
For reference visit Apache Virtual Host Documentation
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic