Yeah! Make sure to do a complete backup of your database, as well as the entire
diaspora/ folder, ideally. Simply restoring those on your new machine will get you back running.
diaspora* is designed to use domain names, not IPs. Unless you have misconfigured your pod, your user’s diaspora* ID should be
username@ip. As long as your domain name points to the new host, you are fine. We don’t actually verify IPs or Domains directly. Instead, we use a asymmetric encryption scheme to verify that known-profiles are still who they claimed to be the first time. This is why it’s crucial that you do not lose your database, as the database contains your user’s private keys. Without those, these profiles are burned forever.
In general, you’re fine to do whatever you want to do, we can’t tell you how to use our software. However, I would very strongly encourage you to stick to the installation and maintenance guides we created, because that’s the only way we can actually understand your setup and help you if things go wrong.
As for “security”, I see no real difference, to be honest. User home directories should not be readable by other users ever, unless they have superuser access, at which point the installation location doesn’t matter anyway. I’m curious, what security gains did you have in mind when considering the move?
Everything that has installation guides in our wiki should work without issues. That being said, Ubuntu/Debian is probably to be preferred, as that has some representation in the core team, which increases your chances of getting help fast. (And, well, Archlinux, because I run my pod on Arch - but I don’t generally recommend Arch as a server distribution to people unless they know exactly what they’re doing)