The profusion of resources on the electronic media and storage capacity increase gave rise to considerable interest in the research community. Traditional information retrieval techniques have been applied to the document collection on the Internet, and panoply of search engines and tools have been proposed and implemented. However, the effectiveness of these tools is not satisfactory. None of them is capable of discovering knowledge from the internet. In this paper, the authors propose a data warehouse model on top of the existing infrastructure for implementing data-mining model with model for web and text mining for any kind of web pages or text data.