@PitaJ said in Issues opening NodeBB via canonical URL in docker-compose network:
Is the DNS set up?
- Yes. Below is the quickie check I did yesterday prior to my post.
% drill irrisuite.ru
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 15337
;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; irrisuite.ru. IN A
;; ANSWER SECTION:
irrisuite.ru. 9359 IN A 95.31.35.62
- And No. I neglected to check the subdomain. Which of course is essential given their NodeBB instance's canonical URL.
% drill forum.irrisuite.ru
;; ->>HEADER<<- opcode: QUERY, rcode: NXDOMAIN, id: 58304
;; flags: qr rd ra ; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;; forum.irrisuite.ru. IN A
;; ANSWER SECTION:
;; AUTHORITY SECTION:
irrisuite.ru. 3600 IN SOA ns1.reg.ru. hostmaster.ns1.reg.ru. 1657192234 14400 3600 604800 10800
@Rektalizer You NEED at least an "A" record for the forum subdomain (CNAME record pointing to irrisuite.ru could also work, depending on your set up.).
- It would also behoove you to create PTR entry whilst you are at it:
% drill -x 95.31.35.62
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 2132
;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; 62.35.31.95.in-addr.arpa. IN PTR
;; ANSWER SECTION:
62.35.31.95.in-addr.arpa. 3243 IN PTR 95-31-35-62.broadband.corbina.ru.
Although this may not be feasible if you are on a shared host w/other "virtual hosts" using that IP address. But, if so, you still have a pretty good chance of claiming it since nobody else has as of yet.
This seems to be broadband. Which may be indicative of a "residential" internet connection. Which may NOT be a static IP address. Perchance are you using dynamic dns config? If not, you may want to investigate that since you may not get the same IP address the next time something gets rebooted.
Edit: To be "pendantic": Of course OP could also change their config.json URL to irrisuite.ru but I get the sense they're utilizing the subdomain for a reason.