how can I install AIO Locally without a domain

How can I install AIO Locally without a domain, without Tailscale, and with an SSL certificate so I can connect to it using desktop client. I’ve seen all the tutorial regarding this in their repo and on the internet and tried them all. still confused as to why it doesn’t work!

Tried to use an SSL certificate and I was able to connect to the desktop client, but the server wasn’t able to connect to itself or something which broke things like collabora websocket connection and I couldn’t open documents.

I know you can’t debug without any insight but generally is it possible? and if you’ve done it please share the compose.

I’m on windows, docker desktop and generally what I do is I modify the hosts file with a domain that points to 127.0.0.1 and use than domain for nextcloud (skip validation) with caddy reverse proxy (tried their internal certificate and tried making my own mkcert)

Thank you in advance

short answer:

Buy a certificate and use that

If none of the above ways work for you, you may simply buy a certificate from an issuer for your domain. You then download the certificate onto your server, configure AIO in reverse proxy mode and use the certificate for your domain in your reverse proxy config.

I don’t have a domain to buy a certificate for; I want it set up without one hence I put 127.0.0.1 nextcloud.local in etc/hosts file.

and from the solutions you refer to, Tailscale worked, but the normal way didn’t,

so please be clear, what is your question?

short answer, no that won’t work. you read the docs right?

so its working right?

Yes I read the docs and it stated that it’s possible
”Perhaps you were hoping to access AIO directly from an ip.add.r.ess (unsupported) or without a valid domain.” ( all-in-one/local-instance.md at main · nextcloud/all-in-one · GitHub )

And yes it worked '“using Tailscale” which I don’t want to have since I want to be able to just compose up and I have it working, so anyone can run it without having to setup Tailscale.

we are working on a project and we’re using nextcloud to store our documents (word, excel, etc.) that are going to be created by our backend, so it’s not reasonable to have everyone set up Tailscale to work on the project, hence I wanted to do the ‘normal way’ and just add a line in hosts file and that’s it for everyone.
Hope what I’m trying to do is clear. maybe my approach is wrong? idk tbh as I’m not that knowledgeable about networks and DNS stuff.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.