problem in hostname resolution
I had recently installed the apache webserver in red hat8.0 linux ...i hav created a virtual host and i connected with the LAN . when from client side (another PC in LAN) i tried to connect with linux webserver the home page for the virtual is opened ,but only when,when i give the URL as ipaddress but if i give the hostname then it is unable to open the page or unable to resolv the host name
......as I am very new to the linux as well as in webserver
SO i need help in detail to resolv this problem.