Question: what is the difference between web server and 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.