I’m in the process of changing a raw ip address to a domain name (or subdomain actually). Since I’m running into problems I’ll probably save time and/or do it smarter by asking a few simple questions (ok, forget the word simple). I’ve read some of the basics like Change the domain name or rename my Discourse? and was thrilled to see you can change all posts to the new domain name… but, but, but…
So I’ve been having our forum at http://22.214.171.124/ and it has worked well for half a year.
I have registered jobscoop.fi at Gandi (several weeks ago).
Maybe cloaking is a really bad idea, maybe I should go with CNAME or something. Not too familiar with all this (I do not care about search engine results). This is probably my most important question.
Once the rebuild after the change to app.yml finally ended…
I got nervous enough at propagating when I got the 502 Bad Gateway but that resolved itself fast enough.
To make things really fun I use SSO btw .
I’ve also had some issues with Firefox lately in another instance of Discourse (not mine). FYI.
Now, http://forum.jobscoop.fi/ does not work with Firefox anymore (but http://126.96.36.199/ still does). Chropera, Edge work (almost) fine so not too worried (except I need to solve the following by looking at the Discourse login logs eventually). FYI again.
So, basically Chropera and Edge work. I can see Discourse sends forum.jobscoop.fi in the sso. But after replying I get returned to the login sso page for some reason even though the login succeeds because I can verify it by going to http://188.8.131.52/ as the next step and Discourse happily lets me in (no login asked). Note, forum.jobscoop.fi does not let me in.
“Account login timed out, please try logging in again.”
After which http://184.108.40.206/ works just fine. Since I know it’s not timing out in a few seconds it’s just the replacing of forum… with 139… that Discourse (or Firefox?) somehow hates.
Sorry about the rambling style, I’ve been writing/reading/solving for hours and it’s way past midnight.
Maybe using CNAME will make everything work as supposed?
Still CURIOUS why this does NOT work. I found the new (?) “sso allows all return paths” but changing that did not make a difference. Not sure if I’ve seen “verbose sso logging” before but that could come in handy.
“Verbose SSO log: Started SSO process nonce…”
“Verbose SSO log: User was logged on…”
But I already knew that. What I don’t know is why I get returned to the sso login screen.
And right now I cannot remember/google where the command window logs are… the extremely detailed one you viewed with the launcher or something?
Yes, time for bed, obviously.