Here I am using the Fedora 9 for this example.
If you want to host many sites on one computer or machine.
I added following lines to httpd.conf file(end of file).
When I restarted the apache server using following command.
I got the following error;
[warn] _default_ VirtualHost overlap on port 80, the first has precedence
Again I opend the httpd.conf tile and I read following lines;
# Use name-based virtual hosting.
# NOTE: NameVirtualHost cannot be used without a port specifier
# (e.g. :80) if mod_ssl is being used, due to the nature of the
# SSL protocol.
Than only I uncommented following line and restarted the Server.
My promlem get solved.