Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialkaran Badhwar
Web Development Techdegree Graduate 18,135 Pointsmain purpose of server
What can be the main purpose of server, so if we have server, we still need database as well? how things work with server?
1 Answer
Steven Parker
231,264 PointsThe most important common function of a server is acting as a "host" for the software that provides web pages.
The same server might also provide a database, but that could also be done by a different server.
karan Badhwar
Web Development Techdegree Graduate 18,135 Pointskaran Badhwar
Web Development Techdegree Graduate 18,135 PointsThankyou so much sir Steven Parker, for answering my all the questions, been in real trouble the whole night, thanku again