Changing custom domain without access to the dashboard (Vanilla 2.x)
I know that you don't support this version anymore, but this is a bit of an emergency...
Following the abrupt deletions of all .ga domains worldwide, I've scrambled to setup a new domain pointing at my web app, which includes a Vanilla installation for its community component. I use SSO back to the app for Vanilla authentication.
I've set up DNS records and Apache, so I can now see my Vanilla forum if I go to my new domain: https://community.astiga.audio
However, clicking "Sign in" redirects me to the old domain.
I've added the new domain to the TrustedDomains setting, but I can't find any other mention of the old custom domain. I've logged into the MySQL database and can't see any obvious tables that would hold this information.
What am I missing?
Comments
Check conf/conf.php for these
https://github.com/vanilla/vanilla/blob/f547100391e0a27065bd0fa147ab834380f3fb43/conf/config-defaults.php#L52
https://github.com/vanilla/vanilla/blob/f547100391e0a27065bd0fa147ab834380f3fb43/conf/config-defaults.php#L71
Do not make changes in config-defaults.php - do it in conf.php
(I looked in
conf/config.php
) - I found the$Configuration['Garden']['Cookie']['Domain']
line, which was empty, and entered my domain.There was no
$Configuration['Garden']['Domain']
(nor a "// Site specifics" comment - maybe not quite the right version?) so I added one.I restarted Apache and cleared the cache. Unfortunately there was no change in behaviour - it still redirects back to the old domain.
I have also grepped the Vanilla document root for mentions of my old domain and there are no others.
Could it be because I have added virtual hosts to Apache so both the new and old domain are served?