Ungleich static web hosting » History » Version 10
Timothée Floure, 03/12/2020 02:12 PM
1 | 1 | Timothée Floure | h1. Ungleich Static Web Hosting |
---|---|---|---|
2 | |||
3 | {{toc}} |
||
4 | |||
5 | *%{color:green}This document concerns end-users/customers. See [[The ungleich static web hosting infrastructure]] page for server-side documentation.%* |
||
6 | |||
7 | h2. Status |
||
8 | |||
9 | 7 | Timothée Floure | This document is *in PRODUCTION*. |
10 | 1 | Timothée Floure | |
11 | h2. Overview |
||
12 | |||
13 | Our "static web hosting offer":https://ungleich.ch/u/products/zerocarbon-webhosting-with-ipv6/ is dead simple: you get an SFTP-accessible storage share which is served by a dual-stack (IPv4+IPv6) NGINX web server. |
||
14 | |||
15 | h2. FAQ |
||
16 | |||
17 | h3. Q: How do I upload files? |
||
18 | |||
19 | 2 | Timothée Floure | We offer you an SFTP interface which is authenticated against our (LDAP) customer directory, which means you can use your ungleich username and password. |
20 | 1 | Timothée Floure | |
21 | 10 | Timothée Floure | * Host: staticwebhosting.ungleich.ch |
22 | 2 | Timothée Floure | * Port: 22 |
23 | * Username: your ungleich username |
||
24 | * Password: your ungleich password |
||
25 | |||
26 | You can use the cross-platform "FileZilla (S)FTP client":https://filezilla-project.org/ if you do not know where to start. |
||
27 | |||
28 | 1 | Timothée Floure | h3. Q: Can I use SSH keys? |
29 | |||
30 | 2 | Timothée Floure | Yes! You just have to upload your own @authorized_keys@ file in @.ssh/authorized_keys@. |
31 | 1 | Timothée Floure | |
32 | h3. Q: Do I need my own domain name? |
||
33 | |||
34 | 3 | Timothée Floure | We expect that most people will use their own domain but you can access the files stored under @public_html@ at @https://staticwebhosting.ungleich.ch/~YOURUSERNAME/@. |
35 | 1 | Timothée Floure | |
36 | h3. Q: How do I configure a domain? How many domains can I serve? |
||
37 | |||
38 | 8 | Timothée Floure | You can point as many domains as you want to this service (on demand). You will first have to set: |
39 | 1 | Timothée Floure | |
40 | 9 | Timothée Floure | * An @A@ record for IPv4, pointing to @185.203.114.169@. |
41 | 8 | Timothée Floure | * An @AAAA@ record for IPv6, pointing to @2a0a:e5c0:2:12:0:f0ff:fea9:c3c8@. |
42 | * ... or (instead of @A@ and @AAAA@) a @CNAME@ record point to @staticwebhosting.ungleich.ch@. |
||
43 | 2 | Timothée Floure | |
44 | 1 | Timothée Floure | h3. Q: What web server do you use? Can you enable X for me? |
45 | |||
46 | 2 | Timothée Floure | We use "NGINX":http://nginx.org/ and can reasonable features / configuratiob on demand. |
47 | 1 | Timothée Floure | |
48 | h3. Q: How can I make a static website? |
||
49 | |||
50 | 4 | Timothée Floure | You have various alternatives: |
51 | 5 | Timothée Floure | * Write HTML/CSS by hand. |
52 | * Use a static website generator intended to somewhat technical people (Jekyll, Hugo, Pelican, Hakyll, ...) |
||
53 | * Use a static website generator intended to standard end-users ("Publii":https://getpublii.com/). |