this post was submitted on 14 Jul 2023
4 points (83.3% liked)

Selfhosted

40173 readers
1090 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
4
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

Hello, This is my first website and I want some feedback from you guys. It's very basic and I haven't added much. just wanted to host something so I threw invidious and whoogle instance there. My ISP doesn't provide a static IP so I had to host it on tor :( what else do you think I should host there? server spec: 15 year old computer with i3 first gen cpu.

Edit: Here is the URL if you want to visit the website: ot6ewcgzioleglf2jp2iofludol3hw5gcaycaj7n5tolf6wcu7ofbzid.onion

top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 year ago

It's beautiful. Plus FOSS services let's go!

[–] [email protected] 1 points 1 year ago

If you use cloudflare, there's a docker container to update your sites DNS records to your current dynamic IP (also cloudflare is good ddos protection) https://github.com/oznu/docker-cloudflare-ddns

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago) (1 children)

Plain old static HTML is fine, and you can host it on a potato! Here are some design tips to keep it easy to read. None of them are objectively correct, and you are already doing some of them. They are just some suggestions as you move forward:

  1. Don't use dark-on-dark fonts. Use near-black on off-white or at least something high contrast.
  2. Break up content using horizontal rules and various headers You can style both of them in css. This keeps things easy to find and read.
  3. Generally, do not center-align text if it is more than one line. If you need to display blocks of text side-by-side, put each in a container then left-align the text within those containers.
  4. Use a bigger font than you think is strictly necessary.
  5. My preference is to use sans-serif fonts. Google makes some good free ones. Sometimes I'll go back and make titles serif only.
  6. Resize and compress your images. A bit higher resolution than you need but with lower quality is usually better than the reverse (for jpegs)
[–] [email protected] 1 points 1 year ago (1 children)

make titles serif only

I don’t want to question your aesthetic choices but I think it hurts readability.
xkcd 2736

[–] [email protected] 1 points 1 year ago

Surprisingly, I can't find that made as an actual usable font. I would have thought someone in font design would jump at the chance just for the fun of it.

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago) (1 children)

For ip thing you should be able to use CloudFare Tunnel free service, works with dynamic IPs and without opening ports

That said do not ask me for help, I haven't used it.

[–] [email protected] 0 points 1 year ago (1 children)

It's great with subdomains, I don't think it works on root Domains but it's still extremely easy to set up.

I would recommend forcing HTTPS as well as creating a Page Rule enforcing strict SSL.

[–] [email protected] 1 points 1 year ago

I can confirm it works on root domains.

[–] [email protected] 0 points 1 year ago (1 children)

For the IP issue: You can look into some service which automatically updates your domains DNS. It's been a while but back then one of those was DynDNS, not sure if they still exist, but others surely do.

[–] [email protected] 1 points 1 year ago

I forgot to mention that I am also behind CGNAT. I bought a VPS for a while but couldn't keep with the cost. Right now the cheapest way of hosting a website for me is through tor.