prodarwin:
Greetings all.
I’ve installed DietPi, have it up and running with a LLSP webserver. My question is now, how do I point this to my domain? I have a domain& dynamic DNS from Namecheap.
In the past I’ve used ddclient to do this. I’m guessing I can install it on this pretty easily. If so, how do I then configure it so the service starts automatically when the system is rebooted?
Also, once I get that working, what’s the recommended method to allow me to access this from outside my home network?
Port forward 80 to 80
22 (ssh) to xxxxx?
21 (ftp) to xxxxx?
Then I can access by just trying to ftp to mydomain.com :xxxxx?
Do I need to setup a certain username/password to do this? Is allowing the root user to do this a bad thing (I see this is disabled on other images I’ve messed around with)? If I do need a user created to access from the outside, how do I ensure they can access the /var/www directory? I’ve had huge problems with this in the past with ArkOS (even locally).
All I really want to do is a simple html webserver, and allow myself to easily upload/change files remotely.
Maybe your router can do what DDclient does? Many can. And the steps above should work OK, I do the same here. Have a look at owncloud for uploading files to your device.
Maybe think about changing the SSH port from 22 to another for better security.