3
Eklavya
3y

After hosting a website using digitalocean for $5 monthly plan, can I update its content using FileZilla (like it's index.html page)? Is it possible?

Comments
  • 1
    Not to be a dick but googling digitalocean droplet ftp will lead to a specific answer in digital oceans forums.

    Short version?

    If you want FTP, SSH in and install FTP.

    Probably better to do file transfer over SSH with WinSCP or Transmit tho, if you ask me.
  • 0
    @HiFiWiFiSciFi I think it’s already installed. I use it once in a while - and I don’t think I installed it.
  • 0
    Yes. You can do that with pretty much any hosting but if you don’t feel comfortable with SSH and maintaining the droplet - then their are friendlier options for beginners.

    I use Digital Ocean. However, I have lots of websites not, so I use SpinupWP now as an admin GUI. Then it’s easy to have 10 sites on a $10 droplet. I have everything in a little pipeline that automatically updates the site when I push to git though.

    I got a basic FTP setup for teaching students and chose to use siteground for that. It’s good to show the history.
  • 0
    I like using github/gitlab/whatever for this instead. You'd be using it for versioning anyway, just clone it to your web root directory and point nginx or whichever server you're using at it. Then when you want to update the website you just push code to the repo and pull it from the server.

    I also automate this via webhooks with a simple Flask application that automatically triggers a pull when I push to the main branch of the repo.
  • 0
    @RememberMe I am also doing with Flask, but for flask-mail, it requires Gmail id and password and would not be safe to host it with GitHub/GitLab. Also, the source code would not be private.
  • 0
    @Eklavya you *never* put passwords or auth keys or any other sensitive data on version control anyway. You store that in environment variables and/or files on the server and have your app read them at configuration time. It's not like your gmail password is going to change often anyway.

    Both GitHub and GitLab let you create private repos.
Add Comment