Coder Social home page Coder Social logo

Q: Using my own subdomain about nextcloudpi HOT 7 CLOSED

nextcloud avatar nextcloud commented on August 16, 2024
Q: Using my own subdomain

from nextcloudpi.

Comments (7)

nachoparker avatar nachoparker commented on August 16, 2024

Hello,
You can do either. The extras in nextcloudpi-config are provided for convenience but are not mandatory

If you want to use your own domain, you have to register it in /var/www/nextcloud/config/config.php. That step is automatically performed by nextcloudpi-config

from nextcloudpi.

RyanTG avatar RyanTG commented on August 16, 2024

K. Thanks. I just didn't know if dnsmasq was the same thing as registering it manually, or if it did more, or what.

I don't recall seeing that step in nextcloudpi-config, but perhaps it was present when I first ran it and I opted to do it later. And then I couldn't find where to add it.

Sidenote: I was about to make a new "possible bug" issue for this: When I use nc_datadir, it works great, BUT afterward there isn't a checkmark next to the name in the list. Super minor, and perhaps intentional.

from nextcloudpi.

nachoparker avatar nachoparker commented on August 16, 2024

You can learn more here

https://ownyourbits.com/2017/03/09/dnsmasq-as-dns-cache-server-for-nextcloudpi-and-raspbian/

Sidenote: it is not a "service" that remains active, so I figured that the checkmark didn't apply 8P

Thanks for the feedback

from nextcloudpi.

RyanTG avatar RyanTG commented on August 16, 2024

That makes sense. But I was paranoid, and was like, "is the external storage definitely working?" And had to navigate to the data folder to double-check that the files were in there.

Thanks for your help!

from nextcloudpi.

nachoparker avatar nachoparker commented on August 16, 2024

haha thx, I'll think about it

from nextcloudpi.

RyanTG avatar RyanTG commented on August 16, 2024

Man, I still can't get my own domain to work. My router goes through a VPN, which may be affecting things.

  1. Pointed the A Record of my subdomain (cloud.mysweetsite.com) to my DHCP ip address.
  2. Forwarded a port on my VPN, using local port 443.
  3. In my router (dd-wrt), I set up this iptable:
iptables -I FORWARD -i tun1 -p udp -d 192.168.1.102 --dport 15119 -j ACCEPT
iptables -I FORWARD -i tun1 -p tcp -d 192.168.1.102 --dport 15119 -j ACCEPT
iptables -t nat -I PREROUTING -i tun1 -p tcp --dport 15119 -j DNAT --to-destination 192.168.1.102:443
iptables -t nat -I PREROUTING -i tun1 -p udp --dport 15119 -j DNAT --to-destination 192.168.1.102:443

15119 is the port I forwarded on my vpn.

  1. in /etc/apache2/sites-available/nextcloud.conf I'm specifying ServerName cloud.mysweetsite.com

Whaaaaat am I doing wrong!

from nextcloudpi.

nachoparker avatar nachoparker commented on August 16, 2024

Sorry, that seems out of scope for this issue tracker.

I suggest you try in the forums

If you have another technical question or issue don't hesitate to open another issue.

from nextcloudpi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.