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?
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 인스턴스를 개인 지식 베이스로 사용 중인데, 오프라인 상태에서도 이를 이용할 수 있으면 좋겠습니다.