Project

General

Profile

Wiki » History » Revision 9

Revision 8 (Joseph Cumming, 03/15/2025 07:29 PM) → Revision 9/16 (Joseph Cumming, 03/15/2025 07:32 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 

 * 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 


 

 * 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 


 

 * Add the networking domain name to the droplet from Namecheap 
    * Under networking -> domains choose the droplet and add the A record 
    * https://cloud.digitalocean.com/networking/domains 


 

 * 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 
    * https://www.digitalocean.com/community/tutorials/how-to-use-certbot-standalone-mode-to-retrieve-let-s-encrypt-ssl-certificates-on-ubuntu-16-04 

 ### Secure the firewall 

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