Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Self Web Hosting at Home in Ubuntu Linux
Rating: 4.4 out of 5(3 ratings)
25 students

Self Web Hosting at Home in Ubuntu Linux

Host your own website at home in a weekend
Last updated 1/2025
English

What you'll learn

  • Get to speed using Ubuntu Operating System
  • Set up and manage a web server - apache
  • Set up and manage database servers - MySQL and PostgreSQL
  • Install and configure phpMyAdmin and phpPgAdmin
  • Set up and Configure FTP servers - FileZilla and VSFTPD
  • Set up and configure the samba file server
  • Add web programming capabilities to apache server using PHP and Python
  • Set up a WSGI server to run Flask application
  • Set up server to be accessed outside LAN using public IP address and Domain name
  • configure server for remote administration using SSH or RDP
  • Perform data backup and restoring data from backup snapshot

Course content

9 sections41 lectures3h 0m total length
  • Introduction4:24

    Learn to host a home website on Ubuntu, configure Apache and optional Nginx, run PHP and Python web apps, manage MySQL or PostgreSQL databases with backups and domain access.

  • Course Requirements1:43

    Learn to host your own website from home using Linux with no prior Linux knowledge. Require internet connection and Ubuntu 18+ (24) to avoid issues; virtualization with VirtualBox supported.

Requirements

  • A Computer to run the tasks
  • Internet connection
  • No prior Linux skills or experience needed

Description

This course is a step-by-step guide for hosting your own website both for beginners and intermediate users as well. By the end of the last section the student will be able to set up a basic web server in apache and set it to be accessed externally, outside their home network using the public IP address or a domain that they will register for free. For simplicity this course uses the Ubuntu desktop version to accomplish all the tasks. Behind the scenes, the desktop and server versions of the Ubuntu operating system uses the same kernel and so nothing changes except that the former has a GUI and the latter a command line interface. This will help beginners understand the concepts easily and make their learning curve smooth.

The student will learn how to transfer files from the development machine to the web server using FTP and File server applications. FileZilla and VSFTPD are FTP applications of choice used in this course. At the same time the samba file server is also used to implement file transfer. More so, you will be able to use the file server as your own custom implementation of Google drive, Microsoft OneDrive or Dropbox.

Implementation of programming logic to the web server is also discussed in-depth and students will practically learn how to add PHP and WSGI modules so that they can be processed by the web server to run python and PHP scripts. Students will see how to set up a flask framework in Python as well. All these concepts are well explained, and the student is guided on what to do in every step; and enabled to use their favorite scripting language to run their web application.

Database concepts are also discussed in depth. The student will set up MySQL and PostgreSQL database servers and install the web admin interfaces as well, such as phpMyAdmin and phpPgAdmin for MySQL and PostgreSQL respectively.

Students will also practically see how to do remote administration of their server using SSH and RDP. The SSH will connect via the command line in terminal and RDP using windows remote desktop.

The course ends with a discussion and practical examples on data backup. Students shall see how to perform system backup and regular file backup and how to restore in the case of data loss.

Who this course is for:

  • All beginners and seasoned linux users.
  • Web developers who want to self-host their web applications
  • Anyone who wants to learn how web servers are set up and work