Project

General

Profile

Actions

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 to 185.203.114.169.
  • An AAAA record for IPv6, pointing to 2a0a:e5c0:2:12:0:f0ff:fea9:c3c8.
  • ... or (instead of A and AAAA) a CNAME record point to staticwebhosting.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

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 over 4 years ago · 21 revisions