Click here to Skip to main content
15,881,863 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all,

I have deployed one jsp servlet web application in VPN on tomcat server.

I am accessing web site using url localhost:8080/project name

I want to use url instead of above,

I dont want to access website outside the VPN.

I want plain url without port and local hosr
Posted
Updated 11-Nov-14 20:30pm
v2
Comments
Sergey Alexandrovich Kryukov 12-Nov-14 2:42am    
"Localhost to URL conversion" makes no sense at all. For example, "http://localhost:8080/project/" is already URL. There is nothing to "convert". You need a domain.
—SA
[no name] 12-Nov-14 7:27am    
I clearly mention that I don't want to access web site out side the vpn i.e Virtual Private Network. I do understand domain name hosting etc. That all stuff used when we have to deploy web site on internet.
I mentioned that I have deployed on server that means server is there in VPN.
I know well it is url localhost:8080 but it could be better if I use proper url like www.helpotherskindly.com . i.e. is my question . How could I use url in my vpn.

1 solution

Please see my comment to the question.

So, first of all, learn what is URL:
http://en.wikipedia.org/wiki/Uniform_resource_locator[^],
http://en.wikipedia.org/wiki/URI_scheme[^].

There is nothing to convert. You either have a domain name of your site/service, or not; or it can be provided for you by your Internet Hosting Provider. Domain names are based on DNS, something you also need to understand:
http://en.wikipedia.org/wiki/Domain_Name_System[^].

—SA
 
Share this answer
 
Comments
[no name] 12-Nov-14 7:31am    
I clearly mention that I don't want to access web site out side the vpn i.e Virtual Private Network. I do understand domain name hosting etc. That all stuff used when we have to deploy web site on internet.
I mentioned that I have deployed on server that means server is there in VPN.
I know well it is url localhost:8080 but it could be better if I use proper url like www.helpotherskindly.com . i.e. is my question . How could I use url in my vpn.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900