Ungleich Static Web Hosting¶
- Table of contents
- Ungleich Static Web Hosting
This document concerns end-users/customers. See The ungleich static web hosting infrastructure page for server-side documentation.
Status¶
This document is in PRODUCTION.
Overview¶
Our static web hosting offer is dead simple: you get an SFTP-accessible storage share which is served by a dual-stack (IPv4+IPv6) NGINX web server.
FAQ¶
Q: How do I upload files?¶
We offer you an SFTP interface which is authenticated against our (LDAP) customer directory, which means you can use your ungleich username and password.
- Host: staticwebhosting.ungleich.ch
- Port: 22
- Username: your ungleich username
- Password: your ungleich password
You can use the cross-platform FileZilla (S)FTP client if you do not know where to start.
Q: Can I use SSH keys?¶
Yes! You just have to upload your own authorized_keys
file in .ssh/authorized_keys
.
Q: Do I need my own domain name?¶
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/
.
Q: How do I configure a domain? How many domains can I serve?¶
You can point as many domains as you want to this service (on demand). You will first have to set:
- An
A
record for IPv4, pointing to185.203.114.169
. - An
AAAA
record for IPv6, pointing to2a0a:e5c0:2:12:0:f0ff:fea9:c3c8
. - ... or (instead of
A
andAAAA
) aCNAME
record point tostaticwebhosting.ungleich.ch
.
Q: What web server do you use? Can you enable X for me?¶
We use NGINX and can reasonable features / configuratiob on demand.
Q: How can I make a static website?¶
You have various alternatives:- Write HTML/CSS by hand.
- Use a static website generator intended to somewhat technical people (Jekyll, Hugo, Pelican, Hakyll, cstate, ...)
- Use a static website generator intended to standard end-users (Publii).
Deploying static websites with custom domain names¶
Step 1: Point your custom domain name entries to the staticwebhosting's ips.¶
As described here
Step 2: Log into staticwebhosting:¶
sftp $YOUR_USERNAME@staticwebhosting.ungleich.ch
Step 3: Create your website's directory:¶
mkdir public_html/$YOUR_FULL_DOMAIN_NAME
e.g:
mkdir public_html/my.beautifulwebsite.com
Step 4: Place your html/css files there¶
put $File_path_from_your_pc $Target_Directory
e.g.:
put /tmp/index.html public_html/$YOUR_FULL_DOMAIN_NAME/
Step 5: Open a support request or ping us via chat to finalize the setup.¶
Dont forget to include your domain name.
Updated by ll nu almost 5 years ago · 21 revisions