This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread 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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Displaying IP Address instead of domain name on url
 
Similar Threads
Url(Doubt.......)
How to set Alias name for URL or change URL
Access Denied while accessing files present on same machine!
Domain Name with Dynamic IP
Singel server name