67

Says "Please type in the domain into the input field below that will be used for Nextcloud in order to create a new AIO instance."

I dont wanna unnecessarily spend money

you are viewing a single comment's thread
view the rest of the comments
[-] socphoenix@midwest.social 25 points 1 year ago

It can be an ip address, if you have a static ip. If you’re planning to host this on the open internet and have a dynamic ip (home internet is most likely for this), or static and don’t want to pay for a top level domain you can use a service like noip.com for a free address like “test.ddns.net”

You can also change this after the initial setup in Nextcloud’s config.php as well as as additional domain names/ip addresses that can reach the server.

[-] strawberry@artemis.camp 4 points 1 year ago

alright then i think imma setup with a free one and then buy one, its only $10 a year

thank u :)

[-] LinuxSBC@lemm.ee 1 points 1 year ago

A .ovh domain is more like $3 a year. That's what I'm using.

[-] strawberry@artemis.camp 3 points 1 year ago

and just to get this right, if i want to acess it outside of my lan, i cant use my ip? i dont think my ip changes, has been the same as long as i remember

[-] diminou@lemmy.zip 8 points 1 year ago

Yes you can use your ip, a domain name is just way easier to remember! :-)

[-] strawberry@artemis.camp 4 points 1 year ago

so then do I just put in my IP into that field? and I'm guessing this can just changed later? I'd like to finish setup without spending money, and get a domain later

[-] fraydabson@sopuli.xyz 3 points 1 year ago

Yes that should be totally possible. Only thing I can think of is making sure your IP is white listed for next cloud.

[-] Jtee@lemmy.world 11 points 1 year ago

Better to use a DDNS service like no-ip, since MOST people won't have static IPs from their provider at home.

[-] strawberry@artemis.camp 2 points 1 year ago
[-] socphoenix@midwest.social 2 points 1 year ago* (last edited 1 year ago)

On FreeBSD the config is located in "/usr/local/www/nextcloud/config/config.php", I'm unsure about Linux I haven't set it up for that. But, in the config you will see a marker for "trusted domains," I've set mine up for local DNS, zero-tier and local IP setup and it looks like this:

`'trusted_domains' =>

array (

0 => 'fileserver.home.lan:9000',

1 => '192.168.50.30:9000',

2 => '10.144.117.148:9000',

3 => '10.1.1.7',

4 => 'fileserver.home.lan',

5 => '192.168.50.30',

), `

Edit: You can see here more info on the config file. Per that documentation on Linux it should be under "/var/www/nextcloud/config/config.php"

Also of note, for internal IP addresses you should set the server to a static IP on your router, that's how I know my server will always be 192.168.50.30. If you're using home internet (not a VPS or business line) you're pretty much guaranteed to have a dynamic IP for public facing connections. For that I like noip.com because they have an app that will auto-update this so you can use the free domain name without needing to know the IP address that will change every few days. Duckdns also does this if memory serves though I think they just had a bash script you ran for this.

[-] socphoenix@midwest.social 1 points 1 year ago

Find in your install the config.php it will listed trusted domains (or ips) and you can add as many as you want. I’ll find my config file here in a bit and paste that part of it as an example

[-] umami_wasbi@lemmy.ml 7 points 1 year ago* (last edited 1 year ago)

Just don't mix up public and private IP. You cant use private IP outside of your LAN if you want to access it when you on the go.

this post was submitted on 09 Sep 2023
67 points (92.4% liked)

Selfhosted

39256 readers
191 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS