Question: what is the difference between a web server an application server and a database server?
Answer: This application server will host business layer (wrapped with web services), scheduled jobs, windows services, etc. Database server will have your one or more database hosted such as Oracle, Sql Server, MySql, etc. If you are referring to htdocs then it is a Web Server.