Your software
My Mautic version is: 5.1
My PHP version is: 8.1.29
My Database type and version is: 10.11.6
Your problem
My problem is: I installed mautic on a digital ocean droplet using GitHub - escopecz/docker-compose-mautic: Deploy Mautic automatically with Github Actions to DigitalOcean on mautic.rumjahn.com.
My wordpress is installed on a seperate cloudways server on www.rumjahn.com.
I tried to embed a form into my wordpress but it keeps showing “not secure” warnings because it doesn’t have SSL. When I submit the form, it shows 403 forbidden “tsk tsk, apparently you don’t have access”.
So I went down this rabbit hole and I tried alot of different things. I think the issue is that I didn’t install mautic on the same machine as my wordpress installation so it is having some cross domain origin problems.
- I have tried adding mautic.rumjahn.com to the verified domains in the CORS settings.
- I have tried adding Header always unset X-Frame-Options to allow headers.
- I have followed this tutorial on changing the mautic-form-src.js so it doesn’t load forever when I submit.
- I have tried setting a CNAME to forms.rumjahn.com that points to mautic.rumjahn.com.
- I have tried installing this multi site plugin: GitHub - FriendlyDotCH/mautic-multi-domain but it only supports Mautic 4. So I reinstalled to Mautic 4 but the script by escopez doesn’t support Mautic 4.
No matter what i do, the SSL problem persists. What is the best option to make it work?
- Try to change the amazing script by @escopez and deploy on the same machine as my cloudways but I’m not technically strong enough to do it properly.
- Try to reverse engineer multi domain plugin and manually make the changes to my mautic 5 installation
Thank you so much! I really want this to work!