This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Hi i am new to coderanch & please forgive me if this question this question may not come under Tomcat.
It's is a general question related to Servers & URL's.
The Deal Consider we have a tomcat application running at http://localhost:8080/blahblah. Now i need to map this to a custom url say, http://blahblah.com.
I'm not a pro but have some basic understanding of all the concepts.
What i know There is a DNS which will contain a list of all the url mapped to a custom one.
Whenever i type www.coderanch.com, it will look up the DNS, re-directs to the site.
Though i see www.coderanch.com in the address bar, internally it will be something else. May be the IP of the server.
But i don't know how to register my IP with a custom name.
Also i know a file called hosts in \windows\system32\drivers\etc\ which contains URL mappings.
Problem i encountered here is that i cannot map port numbers in it.
i can map the url http://localhost:80/blahblah to http://www.blahblah.com which is accessible only in my system only.
i cannot do the same for port 8080 as the host file will not accept port numbers.
What i want to know Can i map my URL to a custom name and access it from everywhere(or atleast within my network)?
Any rancher out there who can help me figure this out?
Any assistance is deeply appreciated.