Your web server is already configured and ready to use, so now you have the possibility to create and host a web page, equipping your server with HTML and PHP pages. You can place each of the pages directly on the Raspberry Pi under the / var / www (Raspbian Wheezy) or / var / www / html (Raspbian Jessie) directories. Another option is to create the pages on an external computer with a web editor of your choice and later transfer them to the web server using SFTP client software, which is achieved using programs such as FileZilla, WinSCP, PuTTY or OpenSSH.
Apache web server settings can be made using the .htaccess configuration file . In this case, it is recommended create a separate 404 error page for your web page or redirect the web page to another domain. If you want to know the 10 best tricks for .htaccess files, click here. Using Raspberry Pi as a web server gives you the opportunity to easily create web pages and learn how to manage and test how a web server works.
Along with hosting web pages, the server is also suitable for many other projects. In this way, it is also possible to use the Raspberry Pi web server as a private multimedia and data server. Likewise, with the free software ownCloud you can also configure and manage a private cloud in it. The file hosting program allows you, among other factors, to deposit files in the cloud and access and synchronize them. The list of projects that can be carried out with a Raspberry Pi web server is extensive and, if you have your own web server, you have the possibility of carrying out your own project at your fingertips.