this post was submitted on 12 Nov 2024
46 points (94.2% liked)

Selfhosted

59939 readers
607 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.

  3. Posts here are to be centered around self-hosting. Please ensure it is clear in your post how it relates to self-hosting.

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

  5. Submission headline should match the article title.

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Hello. I’m pretty new here. I just managed to get my Raspberry Pi setup at home to selfhost a simple website that will act as my portfolio for some art I do.

I’m using WordPress to make the content of the website, meaning it runs on Apache, MariaDB and MySQL in the background. It’s connected via port 80 since I don’t want to pay for SSL certificates to setup https. There will be no accounts or transactions happening on my website. I don’t have anything to manage my dynamic IP but I’ll figure that out later. I’ve deleted the default Pi user on the RPi.

Are there security issues I should address preemptively? I’m worried for instance that I am exposing my home network, making it easier for someone to breach into whatever is connected there.

Any tips on making sure my setup is secure?

you are viewing a single comment's thread
view the rest of the comments
[–] rimu@piefed.social 6 points 2 years ago (2 children)

The WordFence plugin is a must-have for security.

If you use Caddy instead of Apache then you get SSL automatically. You'll need php-fpm as well, tho.

[–] psoul@lemmy.world 1 points 2 years ago (1 children)

What does WordFence provide that makes it a must have?

[–] rimu@piefed.social 2 points 2 years ago (1 children)

After X attempts to log in, it bans the IP address.

It will scan your wordpress files and alert you if any of them have changed in suspicious ways (hacked).

It can disable the xml-rpc endpoint which is rarely used and is a big vector for hacking.

... and a lot more but those are the main ones for me.

[–] psoul@lemmy.world 1 points 2 years ago

Sweet thanks! Will add that ASAP

[–] foggy@lemmy.world 0 points 2 years ago

Agreed on word fence.