As stated,
- If I have an Ubuntu desktop and have a web server within it, can I make another file server to store the database, files etc? or I just need to stick with the computer I installed the web server?
As stated,
It's up to you. You can either have webserver, database and file storage server in a same server or in separate servers.