How to setup on a local network?

I want to setup discourse on a local network to access it from inside and, possibly, from the outside(the internet).

So the first issue is “how do I make it work when I have to use a domain name?”
I set up docker on my linux, installed discourse, and of course I’m not able to access it, since I need to somehow setup a DNS server or whatever it needs to get working…

I haven’t done much server stuff before. Is there even a way to do what I need? Could you give a little lead on that?

To install Discourse you need access to the internet. To install Discourse you must have a domain name.

If you have a domain name, then you can set up ip addresses for your domain at the registrar where you got the domain.

If you don’t have a dns server how did you find this site?

I have access to the internet. What do you mean by having a domain name? Like I need to buy it? Not an option!
I did not say I don’t have a dns server.

The bottom minimum: I need discourse to run on a local network, and accessed it can be only from the local network, though the server has access to the internet.

A domain name costs about fifteen dollars.there is almost certainly a dns server on your network. Users on the network are getting ip addresses from somewhere.

If you don’t want I do that then you can Google hire to set up BIND. And you’ll need to configure every machine on the network to use that name server rather than whatever they are using already using (probably by modifying the dhcp server if there really isn’t a local dns server).

You’ll need to find that information somewhere else, it’s far beyond the scope of what is available here. Given that you control that dhcp server, it would take me 2 to 5 hours and I have configured bind and dhcp before.

The recommended solution is to purchase a domain name. You will not be able to use Let’s encrypt to use https,but since it’s on s local network that’s probably OK.

It doesn’t even need to cost that; you can get domains for free at freenom.com. And as long as the edge device isn’t too limited, it’s probably acting as the DNS host for the network and can be configured with host overrides as appropriate–I know my pfSense box can handle this easily.

댄, 안녕하세요! 댘의 사용 사례에 대해 더 듣고 싶어요. 혹시 괜찮으시다면, 인터넷에 접속할 수 없는 서버에서 포럼 커뮤니티를 만들려고 하는 이유가 무엇인지 공유해 주실 수 있을까요?

저도 같은 고민을 하고 있습니다. 비상 상황 시 나와 이웃들이 서로 연결하고 필수 정보를 공유할 수 있도록 로컬 인터넷 기반 네트워크를 구축하는 방법을요. 정전이 되면 스위치를 눌러 로컬 Wi-Fi 네트워크를 활성화하고, 이웃들이 연결할 수 있게 한 다음 디스코urses를 호스팅하는 웹 서버에 접근할 수 있도록 할 계획입니다.

또한 저는 디스코urses 인스턴스를 개인 지식 베이스로 사용 중인데, 오프라인 상태에서도 이를 이용할 수 있으면 좋겠습니다.

다시 말하지만, 서버는 인터넷에 접근할 수 있습니다.

이상적으로는 LAN뿐만 아니라 인터넷에서도 접근할 수 있어야 합니다.

저와 제 팀이 겪었던 문제들과 그 해결책들을 아카이브하는 용도로 사용할 예정입니다. 각 문제는 개별 스레드로 나누어 상세히 논의되고 궁극적으로 해결되도록 할 계획입니다.

그리고 해결책인 포럼 엔진은 무료여야 하며, 설치도 간편해야 합니다(설치할 때 구성해야 하는 의존성이 없어야 한다는 뜻입니다).