Forums Register Login

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

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
You may replace the ip address by computer name like "http://<computername>:<portnumber>/"

+Pie Number of slices to send: Send
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
Any sufficiently advanced technology will be used as a cat toy. And this tiny ad contains a very small cat:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1928 times.
Similar Threads
Problem starting webshere
Call Webservice methods from the URL addresss
directly access a web service without localhost:8080/ProjectName/service/Webservice
Re: URL Rewriting
JAX-WS deployment
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 07:35:08.