So I just installed OSSN behind a Cloudflare tunnel with a public hostname using ossn.mydomain.com -
The problem I'm encountering is that when I navigate to ossn.mydomain.com - the address bar rewrites to 10.10.10.10 - the internal address of the VM.
I have ossn running on Ubuntu Server 22.04 in a VM on Proxmox. I have looked all over the place since last night and cannot find any one else who's even posted about this issue. I'm not sure if it's Apache (I don't think so cause I've reinstalled 3 times now), OSSN, Proxmox, or Cloudflare but I will say, I have the same setup on quite a few other websites and the only difference here is OSSN so I can only assume it has something to do with mod_rewrite.
If anyone has any insight on this situation I would really greatly appreciate it. I can provide what ever logs or other information needed. Thanks.
Thank you @Arsalan! I feel so silly to miss that. I have found it and got it working as intended. Thank you very much for the reply.
Hi Justin, well the answer is simple it is because the installation is done via local Ip instead of domain name, so you can go to website admin area, site settings and disable cache. Once done edit configurations/ossn.config.site.php and change the line
$Ossn->url = 'http://ossn.mydomain.com/';
Remember to change http or https , and don't remove ending slash / from URL.
Due to the many requests in the past for additonal features and components we have decided to develope a premium version. Features like Hashtags, Videos, Polls, Events, Stories, Link Preview, etc included in it.
$199 (Life Time)