How do I move my nextcloud setup to a subdomain?

Hello,

I have a domain that I brought over from Google Domains (Now squarespace) and I set up an Ubuntu-based Linode to host a Nextcloud instance and everything works great. (I.e. I can log into the Nextcloud portal and use its services on my phone and through my web browser etc) if I use the "main" domain of domain.com.

Now I realize that I might want to use the "main" domain for something else like setting up an actual website or a public blog or something so I want to move my NextCloud instance from https://domain.com to https://nextcloud.domain.com or https://domain.com/nextcloud.

How do I do this?

As an additional wrinkle, I set up an SSL cert through Let's Encrypt and tied it to the main domain of domain.com. Do I have to get another SSL cert for the subdomain?

1 Reply

I found an older post that looks like it deals with this use case:
https://www.linode.com/community/questions/24393/redirecting-subdomain-to-marketplace-nextcloud

If you end up needing to edit SSL entries, you may also find this guide useful:
https://www.linode.com/docs/guides/secure-http-traffic-certbot/

And specifically for setting up subdomains:
https://www.linode.com/community/questions/24859/ssl-on-subdomain

I hope that helps!

-Micah

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct