this post was submitted on 04 Jul 2023
24 points (92.9% liked)

Selfhosted

40415 readers
316 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 2 years ago
MODERATORS
24
submitted 1 year ago* (last edited 1 year ago) by starkcommando to c/selfhosted
 

For those of you who host their own Lemmy instance internally, are you able to log in to your Lemmy account after connecting with the local IP address?

I get SyntaxError: JSON.parse: unexpected character at line 1of the JSON data.

EDIT: I should mention I use OPNSense and when I visit the domain, I'm taken to the router's login page.

top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 9 points 1 year ago* (last edited 1 year ago) (1 children)

I use a reverse proxy so I still use a DNS name to access internally.

[–] [email protected] 1 points 1 year ago

This is the way

[–] [email protected] 6 points 1 year ago (1 children)

I believe some things are populated by your hostname in the lemmy configs so straight IP may break a few things.

[–] [email protected] 3 points 1 year ago

I had the same issue as OP when setting up my instance. Properly setting the domain name in all the config files fixed it for me. So I am assuming you are right.

[–] [email protected] 5 points 1 year ago

You’ll probably want to do it by dns name

[–] [email protected] 4 points 1 year ago (1 children)

When you say internally, do you mean behind a NAT, or something to that effect?

[–] starkcommando 3 points 1 year ago

I mean from the same LAN.

[–] [email protected] 1 points 1 year ago

It worked on 0.17.4, but on 0.18.0 I get the error you get

load more comments
view more: next ›