I have a jboss application server running on a server having a certain dns name say abc.com. From some external machine, when I ping abc.com, it resolves to a certain IP address.
Now, when I hit a URL from a web browser from the external machine with abc.com, the url works (i.e. the application runs and return the response). However, when I use the IP address(to which abc.com resolves when a ping command is issued) instead of abc.com, the application does not respond. Why is it that when a ping is issued on abc.com, the IP address that it resolves to, when it is used it does not work, however it works only with abc.com?
Can anybody explain me how does this DNS and IP address resolution work internally at network side?
I got lost in there... you have two places where you're trying to access a location, right? You've got a web browser and an application, if I understand it right. I don't understand whether they are running on the same machine, though. I also think that the application is also the location, but I'm not sure of that.
So I think it would help if you clarified who is trying to do what to whom, and what happens in each case. (I'm also not clear on what "does not respond" means, so that could be clarified too.)
(And by the way I found it confusing that you used the name of a well-known television network as your "example" name. I must be easily confused.)