Exclusive Metin2 game shield on FreeBSD: Automatic siege mode, VIP list, and whitelist from your dashboard. See how it works
Create a server

Guide

How to Set Up a WebDAV Server

WebDAV mounts a remote folder like a drive (Windows/macOS/Linux clients). Nginx is quick; for a full personal cloud use Nextcloud.

Steps

  1. Install Nginx and auth tools:

    sudo apt update
    sudo apt install -y nginx apache2-utils
  2. Create the folder and an htpasswd user:

    sudo mkdir -p /var/www/webdav && sudo chown www-data:www-data /var/www/webdav
    sudo htpasswd -c /etc/nginx/webdav.passwd username
  3. Add a server block with dav_methods PUT DELETE MKCOL COPY MOVE;, dav_ext_methods PROPFIND OPTIONS;, basic auth and root /var/www/webdav. Then reload:

    sudo nginx -t
    sudo systemctl reload nginx
  4. Test with a WebDAV client or curl (adjust domain/IP):

    curl -u username:PASSWORD -X PROPFIND https://YOUR_DOMAIN/

Tips

  • Enable HTTPS (Certbot) before real use — WebDAV moves credentials and files.
  • For multi-device sync and a UI, Nextcloud is usually nicer.

ext step

Storage on a VPS with a fixed IP: Deploy your Cloud VPS.

Related guides