Linux Webserver Setup
Linux Webserver Setup¶
A brilliant article: https://www.digitalocean.com/community/tutorials/how-to-deploy-a-react-application-with-nginx-on-ubuntu-20-04
Steps to setup a Linux webserver: - set up a non-root sudo enable with useradd with SSH access - set up your domain with A records - installing ufw firewall - installing nginx webserver - setting up nginx server blocks to redirect traffic for multiple sites and services - (maybe) setting up a proxy server gateway interface to route traffic between the nginx server and a web app written in a specific language - use certbot to securing nginx with SSL
Setting up database server: - setup mysql server - setup postgresql server
See also¶
- Website Server Folder Layout
- Django deployment