Questions setting AIO through VPN and DynDNS

, ,

The basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 15.0.2
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 26.04.1
  • PHP version (e.g, 8.3):
    • 8.5
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • AIO
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • no

My setup:

Hi, I’m not an engineer but I can get around following detailed tutorials for these things. I’m having some issues setting AIO up and would love some help.

I have a pretty neat TL-Link router which offers VPN, DynDNS, and overall good security.

I’ve installed Wireguard VPN on my router, connected my local server (an old laptop with Ubuntu Server freshly installed) to it and my main PC, so now I can access the setup page on port 8080 through my main PC. I have a domain where I host my main website and would like to use a subdomain for NextCloud and also intend to use my server for other services. I would like to use IPv6 when possible.

Caddy tells me no valid A records were found at my subdomain.domain.com

I’ve also set a DynDNS domain name that I’m not sure how to use for this.

I’ve read the documentation, I’ve looked stuff up, but I can’t seem to figure it out, it’s a bit over my head.

What I have tried:

I updated Docker to be able to use IPv6 across the board.

I opened the 443 and 3478 ports for my server’s public IPv4 which is the VPN endpoint.

In my domain DNS settings I added a type A record to that same IPv4 with the host name being what I’d like my subdomain to be.

When I try to set this as my domain (like cloud.mydomain.com) in NextCloud admin setup I get this error:

DNS config is not set for this domain or the domain is not a valid domain! (It was found to be set to ‘’)

Questions:

(I’ve kinda figured out some things since I originally made this post a few hours ago so I’ve gone an edited it a bit)

Is the VPN kinda the same as using Tailscale? And is it secure enough to just pair my VPN with Caddy and call it a day?

I know the domain’s DNS settings are wrong but I have no idea how to fix it. How would I put my VPN, DynDNS, and subdomains that live in a different IP than my main domain together?

(I have another server that hosts my website, this server would use subdomains from that without touching the main domain)

And does it use IPv6 on its own even though I’m using IPv4s for this setup?

Thank youuu