# Nextcloud VM Debian

**URL:** <https://help.nextcloud.com/t/nextcloud-vm-debian/213126>\
**Category:** 📦 Appliances (Docker, Snappy, VM, NCP, AIO)\
**Tags:** baremetal, debian, vm, installation\
**Created:** [December 20, 2024, 6:09pm UTC](https://help.nextcloud.com/t/nextcloud-vm-debian/213126 "2024-12-20T18:09:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lambada\_Lambada](https://help.nextcloud.com/user_avatar/help.nextcloud.com/lambada_lambada/32/66729_2.png) [@Lambada\_Lambada](https://help.nextcloud.com/u/Lambada_Lambada)\
**Post date:** [December 20, 2024, 6:09pm UTC](https://help.nextcloud.com/t/nextcloud-vm-debian/213126/1 "2024-12-20T18:09:33Z")

</div>

Hello,

is there a good tutorial, how to install on a Debian VM?

Greetings

---

<div class="post-metadata">

**Author:** ![jtr](https://help.nextcloud.com/letter_avatar/jtr/32/5_5575768a8748004e209b776fc1b2916d.png) [@jtr](https://help.nextcloud.com/u/jtr)\
**Post date:** [December 20, 2024, 7:55pm UTC](https://help.nextcloud.com/t/nextcloud-vm-debian/213126/2 "2024-12-20T19:55:38Z")

</div>

[https://docs.nextcloud.com/server/latest/admin\_manual/installation/source\_installation.html](https://docs.nextcloud.com/server/latest/admin_manual/installation/source_installation.html)

---

<div class="post-metadata">

**Author:** ![saettel.beifuss0](https://help.nextcloud.com/user_avatar/help.nextcloud.com/saettel.beifuss0/32/70079_2.png) [@saettel.beifuss0](https://help.nextcloud.com/u/saettel.beifuss0)\
**Post date:** [December 20, 2024, 8:56pm UTC](https://help.nextcloud.com/t/nextcloud-vm-debian/213126/3 "2024-12-20T20:56:57Z")

</div>

I wasn’t happy with the official doc that @jtr linked, so I wrote my own tutorial for ubuntu (almost the same for debian)

> **[GitHub - jameskimmel/Nextcloud\_Ubuntu: Install Nextcloud on Ubuntu bare metal](https://github.com/jameskimmel/Nextcloud_Ubuntu)**
>
> Install Nextcloud on Ubuntu bare metal

Let me know if that works for you or if you have any questions.

---

<div class="post-metadata">

**Author:** ![Lambada\_Lambada](https://help.nextcloud.com/user_avatar/help.nextcloud.com/lambada_lambada/32/66729_2.png) [@Lambada\_Lambada](https://help.nextcloud.com/u/Lambada_Lambada)\
**Post date:** [December 21, 2024, 8:21pm UTC](https://help.nextcloud.com/t/nextcloud-vm-debian/213126/4 "2024-12-21T20:21:02Z")

</div>

I do not have a Domain, what do i have to do with the ServerName, IP does not work?

```auto
<IfModule mod_ssl.c>
<VirtualHost *:443>
  ServerName cloud.x_yourdomain.com
</VirtualHost>
</IfModule>

```

---

<div class="post-metadata">

**Author:** ![saettel.beifuss0](https://help.nextcloud.com/user_avatar/help.nextcloud.com/saettel.beifuss0/32/70079_2.png) [@saettel.beifuss0](https://help.nextcloud.com/u/saettel.beifuss0)\
**Post date:** [December 22, 2024, 11:22am UTC](https://help.nextcloud.com/t/nextcloud-vm-debian/213126/5 "2024-12-22T11:22:34Z")

</div>

If you don’t have a domain, you won’t be able to get a cert or access it from remote or share files. Is that not a problem for you?

My tutorial does not cover that special case, but you should probably be able to follow my NGINX proxy tutorial. Why? Well in the case of a NGIXN proxy in front of apache, apache also does not use ssl. I think the only thing you have to change is to delete the line with ServerName.

[apache](https://github.com/jameskimmel/Nextcloud_Ubuntu/blob/main/nextcloud_behind_NGINX_proxy.md#apache2)

---

<div class="post-metadata">

**Author:** ![Lambada\_Lambada](https://help.nextcloud.com/user_avatar/help.nextcloud.com/lambada_lambada/32/66729_2.png) [@Lambada\_Lambada](https://help.nextcloud.com/u/Lambada_Lambada)\
**Post date:** [December 23, 2024, 6:18am UTC](https://help.nextcloud.com/t/nextcloud-vm-debian/213126/6 "2024-12-23T06:18:19Z")

</div>

> Is that not a problem for you?

No, this is not a problem for me. Ubuntu Snap is running for me. I will try your tutorial.

> You won’t be able to get a cert or access it from remote or share files.

> What alternatives are there to reach Nextcloud from outside if I don’t have a domain. Perplexity answer to this Problem:
> 
> There are several alternatives to reach Nextcloud from outside without using your own domain:
> 
> 1. **DynDNS services** : Use a dynamic DNS service to assign a fixed hostname to your changing IP address[1][5].
> 
> 2. **VPN connection** : Set up a VPN (e.g. WireGuard) to securely access your home network[2][6].
> 
> 3 **Overlay networks** : Use services such as Tailscale or Netbird to establish secure connections without port forwarding[1].
> 
> These methods allow access to your Nextcloud instance without the need for a separate domain.

---

<div class="post-metadata">

**Author:** ![NaXal](https://help.nextcloud.com/letter_avatar/naxal/32/5_5575768a8748004e209b776fc1b2916d.png) [@NaXal](https://help.nextcloud.com/u/NaXal)\
**Post date:** [December 23, 2024, 3:56pm UTC](https://help.nextcloud.com/t/nextcloud-vm-debian/213126/7 "2024-12-23T15:56:59Z")

</div>

Hello,

> [@Lambada\_Lambada](#):
>
> I do not have a Domain

Any random extension domains are like less than USD 1 for the entire year. Domain is not the issue here. Actual issue is **CG-NAT**

For outside access, Snap Nextcloud will happily work with any Public IP and self signed SSL certificate and port forwarding at your router level.

But the question is, **do you have Public IP at your home router?**

Sadly, more and more ISPs are pushing CG-NAT IP at home routers and there no conventional VPN would work.

One bypass method is using Tail-Scale but that means each and everyone along with every device who wishes to access nextcloud needs to install & authenticate same tail-scale user account and then subsequently will have access to the entire home network.

So for the question of outside access, first step I guess would be figuring out if you have Public IP at router level or not. Based on that your options will defer !!

Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [March 20, 2025, 6:09pm UTC](https://help.nextcloud.com/t/nextcloud-vm-debian/213126/8 "2025-03-20T18:09:51Z")

</div>

This topic was automatically closed after 90 days. New replies are no longer allowed.
