He went to the place where Bali was busy in managing yajna and donating things. Guru of Bali, guru of Devils, Shukracharya had said to Bali that if anybody comes to you for charity in the form of brahmin, do not give any thing to him. But when bhagwan vishnu, in the form of Vamanavtar, appeared in front of him and asked to give him one blessing, he at once accepted and said that he could wish whatever he wanted. Listening this Vaman asked the land measured by four footsteps. He thought it very easy task and agreed. Now because Vaman was Vishnu, in real, he measured the whole sky(or Heaven) in one footstep, with second, he measured the whole place that was below earth and by third footstep he measured the whole earth and asked where he should put the fourth footstep. Bali told him to put the fourth footstep on his head. Acordingly Vaman did and by putting his foot on Bali's head he buried him towards the Patal(place below earth).
O dear readers! real meaning of this story that we find in Hindu mythology is very clear and praise worthy. When there become darkness at night on the half of earth and night(Bali) reigns on earth, sky and beneath earth, peoples(Indra) pray to god to get sun light. Sun is called Vaman. In sanskrit language Vaman means 'who vomits'. Here sun vomits rays full of light and heat. So it is called Vaman. In the morning its first ray 'Usha' goes to sky that takes away reign of darkness(Bali) from there. Second ray goes to the places below earth that remove darkness from there and third ray beam comes to earth to remove darkness from earth. And now his full light drive away the whole darkness and now sun becomes the emperor of whole world and darkness moves towards America (Patal Lok) forcefully.
Read this post in Hindi