Project

General

Profile

Ungleich static web hosting » History » Version 4

Timothée Floure, 03/12/2020 12:09 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
This document is *in a DRAFT*.
10
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
TODO: explain why static hosting is AMAZING.
16
17
h2. FAQ
18
19
h3. Q: How do I upload files?
20
21 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.
22 1 Timothée Floure
23 2 Timothée Floure
* Host: (soon)
24
* Port: 22
25
* Username: your ungleich username
26
* Password: your ungleich password
27
28
You can use the cross-platform "FileZilla (S)FTP client":https://filezilla-project.org/ if you do not know where to start.
29
30 1 Timothée Floure
h3. Q: Can I use SSH keys?
31
32 2 Timothée Floure
Yes! You just have to upload your own @authorized_keys@ file in @.ssh/authorized_keys@.
33 1 Timothée Floure
34
h3. Q: Do I need my own domain name?
35
36 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/@.
37 1 Timothée Floure
38
h3. Q: How do I configure a domain? How many domains can I serve?
39
40 2 Timothée Floure
You can point as many domains as you want to this service. You will first have to set:
41 1 Timothée Floure
42 2 Timothée Floure
* An @A@ record for IPv4, pointing to ???.
43
* An @AAAA@ record for IPv6, pointing to ???.
44
* ... or (instead of @A@ and @AAAA@) a @CNAME@ record point to ???.
45
46 1 Timothée Floure
h3. Q: What web server do you use? Can you enable X for me?
47
48 2 Timothée Floure
We use "NGINX":http://nginx.org/ and can reasonable features / configuratiob on demand.
49 1 Timothée Floure
50
h3. Q: How can I make a static website?
51
52 4 Timothée Floure
You have various alternatives:
53
	* Write HTML/CSS by hand.
54
	* Use a static website generator intended to somewhat technical people (Jekyll, Hugo, Pelican, Hakyll, ...)
55
	* Use a static website generator intended to standard end-users ("Publii":https://getpublii.com/).