File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Java Products and Servers and the fly likes Displaying IP Address instead of domain name on url Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Displaying IP Address instead of domain name on url" Watch "Displaying IP Address instead of domain name on url" New topic
Author

Displaying IP Address instead of domain name on url

NitinG Gour
Greenhorn

Joined: Sep 16, 2010
Posts: 1
Hi
I have a Static IP taken from Airtel, and Domain Name from other hosting company, whenever I type the domain name in url it reflects/displays my static IP Address on url instead of Domain name. Like I have static ip 122.169.252.127 on the port 80 I have running one application on Jboss server like (NITRA the name of application), so whenever I am typing the Url name (http://www.twindata.in) it converts the url like http://122.169.252.127/NITRA on the url. I dont want the IP should be reflected on the url. It must display the domain name instead.

Thanks in Advance
NitinG
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
The web page returned returned from http://www.twindata.in/ contains a redirect to http://122.169.252.127/NITRA (using an http-equiv), so this behavior is to be expected. If you don't want that, then remove the http-equiv from the page.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Displaying IP Address instead of domain name on url