Where actually is the files we are working located in Ubuntu server?

This is one of the confusions that a new user stumble when learning something on ubuntu server. Where are the files that you are working is in the Ubuntu server?

Let us explain this way. When someone hits www.example.com then the one is trying to excesse the index.html(This is default file for the most of the websites)  inside the www folder. Www folder is located inside var folder and, var folder is located inside the root. The setting for one’s server can be different but the basic configuration is this.  

Note : These posts are based on Ubuntu server. To know more about the specification click here.