Wiki » History » Version 11
Joseph Cumming, 03/15/2025 07:44 PM
1 | 1 | Joseph Cumming | # Website admin wiki |
---|---|---|---|
2 | |||
3 | This wiki is a list of points and notes for creating and maintaining the websites |
||
4 | |||
5 | ### Domain creation |
||
6 | |||
7 | * Domains are typically purchased through [Namecheap](https://www.namecheap.com). |
||
8 | * The hosting of the website is typically done through [DigitalOcean](https://www.digitalocean.com/). |
||
9 | * After purchasing the domain make sure to set the nameservers to the digital ocean nameservers |
||
10 | * ns1.digitalocean.com |
||
11 | * ns2.digitalocean.com |
||
12 | * ns3.digitalocean.com |
||
13 | |||
14 | ### Website creation |
||
15 | |||
16 | * Spawn a droplet and associate the domain with the one purchased |
||
17 | 8 | Joseph Cumming | |
18 | 10 | Joseph Cumming | * Add the networking domain name to the droplet from Namecheap |
19 | 11 | Joseph Cumming | - Under networking -> domains choose the droplet and add the A record |
20 | - https://cloud.digitalocean.com/networking/domains |
||
21 | 10 | Joseph Cumming | |
22 | |||
23 | 8 | Joseph Cumming | * Create the actual users (and apply root if required) |
24 | * https://www.digitalocean.com/community/tutorials/how-to-create-a-new-sudo-enabled-user-on-ubuntu |
||
25 | 9 | Joseph Cumming | |
26 | 7 | Joseph Cumming | |
27 | 2 | Joseph Cumming | * Install docker on the droplet |
28 | * https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-22-04 |
||
29 | 9 | Joseph Cumming | * https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-22-04 |
30 | 3 | Joseph Cumming | |
31 | * Create and apps dir under the home directory |
||
32 | * Apps are typically run as docker images under apps |
||
33 | 4 | Joseph Cumming | |
34 | ### Applying SSH certificates |
||
35 | |||
36 | * Certificates are retrieved from LetsEncrypt |
||
37 | * https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-20-04 |
||
38 | 6 | Joseph Cumming | * https://www.digitalocean.com/community/tutorials/how-to-use-certbot-standalone-mode-to-retrieve-let-s-encrypt-ssl-certificates-on-ubuntu-16-04 |
39 | 5 | Joseph Cumming | |
40 | ### Secure the firewall |
||
41 | |||
42 | * https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-with-ufw-on-ubuntu |