Web Development 701 ~ Web Hosting
This blog is going to cover web hosting, to make the website publicly available to the outside world. I don’t really know much about web hosting, nor do I care to go into much detail since this is something that a web developer needs to know. As I stated in the web security blog, I have little interest in web development. That being said hosting the website is something that our tutor wants us to get some experience with so here I am writing a blog about it. The only previous experience I have with web hosting is through godaddy and cloud platforms (GCP, AWS, and Azure). The tutor has a remote server which we can host our sites on, so I will be using docker to deploy the website there.
The first problem that I encountered was not being able to execute docker without sudo privileges. After a quick duckduckgo search I found a solution. It is as follows.
sudo groupadd docker
sudo gpasswd -a <user> docker
This fixed the problem and I am now able to execute without the need for sudo.