Project

General

Profile

Wiki » History » Revision 5

Revision 4 (Joseph Cumming, 03/14/2025 03:10 PM) → Revision 5/16 (Joseph Cumming, 03/14/2025 03:11 PM)

# Website admin wiki 

 This wiki is a list of points and notes for creating and maintaining the websites 

 ### Domain creation 

 * Domains are typically purchased through [Namecheap](https://www.namecheap.com).  
 * The hosting of the website is typically done through [DigitalOcean](https://www.digitalocean.com/). 
 * After purchasing the domain make sure to set the nameservers to the digital ocean nameservers 
    * ns1.digitalocean.com 
    * ns2.digitalocean.com 
    * ns3.digitalocean.com 


 ### Website creation 

 * Spawn a droplet and associate the domain with the one purchased 
 * Install docker on the droplet 
    * https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-22-04 
    * https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-22-04 

 * Create the actual users (and apply root if required) 
    * https://www.digitalocean.com/community/tutorials/how-to-create-a-new-sudo-enabled-user-on-ubuntu 

 * Create and apps dir under the home directory 
    * Apps are typically run as docker images under apps 

 ### Applying SSH certificates 

 * Certificates are retrieved from LetsEncrypt 
    * https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-20-04 

 ### Secure the firewall 

 * https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-with-ufw-on-ubuntu