How to Turn Your Windows Server into Your Own Cloud Storage
Four ways to reach the files on a Windows Server from anywhere: SFTP, WebDAV over HTTPS, file shares through a VPN, or a full sync suite. With the trade-offs.
4 min readBy Smita
Reviewed by the AmazingRDP technical team

Storage you control: a Windows VPS gives you full admin access and a public IP address. See Windows VPS from $8.99
"Cloud storage" means your files sit on a server and you reach them from any device. If you already rent or own a Windows Server with spare disk space, it can do that job. The honest starting point is that there are several ways, they suit different needs, and the one that looks most like a commercial sync service is the most work. Pick by what you actually need.
Four ways, compared
| Way | You get | Effort | Best for |
|---|---|---|---|
| SFTP | Upload and download with any file transfer program | Low | One person or a small team moving files now and then |
| WebDAV over HTTPS | A network drive in File Explorer, Finder and phone apps | Medium | Working on files directly from several devices |
| File shares (SMB) through a VPN | Ordinary Windows shared folders, from anywhere | Medium | A team used to network drives |
| A sync suite | Sync clients, sharing links, web interface, calendars | High | A real replacement for a commercial cloud service |
1. SFTP: the quick one
Windows Server includes an SSH server, and with it SFTP. Switch it on, create a user for each person, and connect with WinSCP, FileZilla or any SFTP app on a phone. Everything is encrypted, and only one port needs opening. Setup: OpenSSH on a Windows server; clients: six FTP and SFTP clients.
2. WebDAV: a drive letter over HTTPS
WebDAV is file access over the web protocol. Windows, macOS and many phone apps can attach a WebDAV address as if it were a drive.
- Install the web server with WebDAV: see installing IIS, then
Install-WindowsFeature Web-DAV-Publishing, Web-Basic-Auth
- Create a site whose folder is your storage folder, with a host name such as
files.example.com. - Give the site an HTTPS certificate first. With basic authentication, passwords are readable on the network unless the connection is encrypted.
- In IIS Manager, open the site's WebDAV Authoring Rules, enable WebDAV, and add a rule that gives your users read and write access.
- Under Authentication, enable Basic Authentication and disable Anonymous.
- Give the Windows users rights on the folder itself.
Connect from a Windows PC:
net use Z: https://files.example.com/ /user:anna
WebDAV is convenient and not fast; it suits documents better than thousands of small files.
3. File shares through a VPN
Shared folders are what Windows does best, but the protocol behind them (SMB, port 445) must never be opened to the internet; it is attacked constantly and many internet providers block it. The safe arrangement is a VPN: devices connect to the VPN first and then see the server's shares as if they were in the same office. WireGuard is the usual choice today. Running VPN software is allowed on our VPS and dedicated plans.
4. A sync suite
If you want what the commercial services offer, with a folder on every device that stays in step, sharing by link and a web interface, you need a dedicated application such as Nextcloud or OpenCloud. These are written for Linux. On a Windows Server they run in a Linux virtual machine or in containers, which needs virtualisation support that a VPS often lacks.
The straightforward advice: for a sync suite, use a Linux server. Our walk-through is in OpenCloud on a VPS. Keep the Windows server for what needs Windows.
Whichever way: the parts that make it safe
- Encryption in transit. SFTP and VPN have it built in. WebDAV needs HTTPS.
- One account per person, with a long password, and only the folder rights that person needs.
- The firewall open for exactly the port in use: see opening ports on Windows Server.
- Updates, for Windows and for whatever serves the files.
- Backups somewhere else. A cloud you run yourself is one server. If its disk fails or ransomware reaches it, the files are gone unless a copy exists elsewhere. Shadow copies on the same disk are a convenience, not a backup.
What it costs compared with a commercial service
You gain control: your server, your rules, no per-user fee. You take on the administration, and you lose the redundancy large providers build in. For a few people who mainly need to move files, methods 1 and 2 are little work. For a company that depends on shared documents every day, count the hours honestly before deciding.
On a rented server
- Compare the plan's disk size and traffic allowance with what you will store and sync.
- All four methods need administrator rights, so a VPS or dedicated server, not a shared remote desktop.
- Store only files you have the right to keep and share; the usage policy applies to storage too.
See our Windows VPS plans.
Questions
Can I use a Windows Server as cloud storage?
Yes. The simplest ways are SFTP through the built-in SSH server or WebDAV over HTTPS through IIS.
Can I run Nextcloud on Windows Server?
Not directly; it is written for Linux. It runs in a Linux virtual machine or containers, or more simply on a Linux server.
Is it safe to open Windows file sharing to the internet?
No. Never open port 445. Reach shared folders through a VPN.
Do I still need backups with my own cloud?
Yes. A self-run cloud is a single server; keep copies on another machine.