# Uberspace # how to ideally set up a new uberspace instance 1. create uberspace 2. create SSH key (with password, key longer than RSA 8192) 3. integrate SSH key into kitty (or your preferred program) 4. login SSH 5. ``` uberspace tools version list php ``` 6. ``` uberspace tools version use php #(whatever is newest) ``` 7. do the same thing with any other software you have to use (like MongoDB and so on) now: set the newest version BEFORE you begin projects. 8. ``` uberspace web header set / Permissions-Policy "browsing-topics=()" ``` (that's about Google Topics, formerly FLoC) 9. ``` uberspace web domain add (your domain) ``` 10. set DNS A records accordingly planning to do WordPress? -> [https://lab.uberspace.de/guide\_wordpress-bedrock/](https://lab.uberspace.de/guide_wordpress-bedrock/) # Subdomains
Im Manual von Uberspace wünscht man sich keine Subdomains. Sie überlasten Server weil sie tendenziell für einzelne Services stehen. Man bittet darum pro Funktion einen Space zu öffnen und nicht alles auf tendenziell niedrig bezahlten Pay-what-you-want-Servern zu lagern, weil das zwangsweise für alle auf dem Server schlechtere Performance bedeutet.
### Subdomains einrichten 1. ```shell Uberspace web domain add subdomain.domain.tld ``` 2. A (IPv4) und AAAA (IPv6) Record gemäß Output setzen. Falls gewünscht/möglich als Wildcard mit \* #### Wenn Website (Apache) gewünscht 1. ```shell mkdir /var/www/virtual/$USER/subdomain ``` #### Wenn Service als Backend gewünscht [https://manual.uberspace.de/web-backends/](https://manual.uberspace.de/web-backends/) angepasst auf ```shell uberspace web backend set subdomain.domain.tld --http --portNach [Manual](https://manual.uberspace.de/web-domains/#subdomains) können Subdomains von Hauptdomains nicht in verschiedenen Uberspaces geteilt werden. (Auch wenn DNS-Einträge das splitten mehrerer Subdomains auf verschiedene Hosts theoretisch möglich machen würden)
wenn mkdir nicht gemacht, landet subomain.domain.tld in /var/www/virtual/$USER/html ([src](https://twitter.com/hallouberspace/status/1516069606326161411))
Gleiches natürlich dann auch mit Subdomains von uber.space oder mit Verkettung. Beispiel: sub.isabell.uber.space ### Subdomains nach Wunsch aus Uberspace ManualZwei mal 2,50 € ist für die Lastverteilung besser als einmal 5 € für einen Space.
1. [anderen Uberspace anlegen](https://wiki.notizlo.ch/books/uberspace/page/how-to-ideally-set-up-a-new-uberspace-instance) 2. uberspace web domain add subdomain.domain.tld 3. DNS record: subdomain im DNS record als A und AAAA gemäß output anlegen 4. gemäß der Info oben landet die Subdomain dann in /var/www/virtual/$USER/html ## Mailsubdomains Ist mehr oder weniger das gleiche wie mit uberspace web domain add - nur dass web durch mail ersetzt wird. # uberspace subcommands just the console output of the commands to save it for later. Like manpages in the internet. # Uberspace tools ### ```shell [$USER@$HOSTNAME ~]$ uberspace Configure your Uberspace account. usage: uberspaceIf there's no MX pointing to the Uberspace server, every mailbox will end up on @$USER.uber.space
adresses like ![📧](https://abs-0.twimg.com/emoji/v2/72x72/1f4e7.png "E-Mail Symbol").$USER.uber.space (i.e. created as punycode variant xn--du8h are inconsistent between server and client. ([src](https://twitter.com/hallouberspace/status/1517965331305836544)) Here I just have to experiment more. Because of the parallels to domains I assume that punycode can also be applied to mail addresses and that emojis can be used as normal ASCII chars.
# Uberspace port # Uberspace takeout # Uberspace web