This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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.
 
wood burning stoves
 
subject: Displaying IP Address instead of domain name on url