Custom Domain location problem
I am adding a couple of custom domains and having issues. I have followed all the advice on the troubleshooting page but still no joy.
I have Sendy located at suljam.work/email and I have set the CNAME for techmo.uk (the custom domain) to newsletter | CNAME | suljam.work.so the test login should show at newsletter.techmo.uk/email but doesn't.
All I have is - [404 error] If you're seeing this error after install, check this FAQ for the fix: https://sendy.co/troubleshooting#404-error I have followed the advice there and set AllowOverride All and rebooted Apache.
Also noticed that if I try http://newsletter.techmo.uk/ is shows the root of the server rather than showing the same as http://suljam.work
I'm going around in circles here, any help would be superb. Thank you!!!
Comments
Did you setup anything else other than the
CNAMErecord? Did you setup any vhost in your httpd.conf or configure anything else?Hi Ben,
I set the
AllowOverride Allin the httpd but nothing else. No<VirtualHost>set eitherHi,
I see that you've installed Sendy on https://email.suljam.work, but the SSL certificate is invalid:
Can you please fix the SSL certificate first.
Best regards,
Ben
And since you have changed your Sendy install to
email.suljam.work, you should point theCNAMErecord fornewsletter.techmo.uktoemail.suljam.workinstead of justsuljam.work.I've having real issues with the sub domain of
email.suljam.workso it's probably best I stick with the originalsuljam.work/emaildirectory instead. This has a certificate.So I have reverted the dns records back to
suljam.work.Hi,
Please turn off 'Cloudfare Proxy' (turn off the orange cloud icon) for your
CNAMErecordnewsletter.techmo.ukin your Cloudfare account.Example screenshot:

Source: https://docs.readme.com/docs/turn-off-cloudflare-proxy
In my experience, Cloudfare causes lots of unforeseen and peculiar issues for Sendy and other web applications in general.
Thanks.
Best regards,
Ben
It's just the
suljam.workdomain going through Cloudflare. I only added it due to issues with my normal SSL - Thetechmo.ukdomain goes through Gandi.net DNS settings and the main domain goes to Vercel and I set up a CNAME fornewsletter.techmo.ukto go tosuljam.workAhhh just saw the bit for
email.suljam.workso turned off the proxy for thatIs this right? https://cln.sh/U1FPfW
I'm very confused. Is your Sendy on suljam.work/sendy or email.suljam.work?
Ok, I've been trying to fix things inbetween our messages. originally Sendy was at
suljam.work/emailthis was acting weird so I thought a subdomain ofemail.suljam.workwould be better. That made things worse. After messing around and changing VPS and Control Panel as Vesta wouldn't handle the SSL correctly I'm now at this stage...My VPS root domain is
suljam.ukand I originally though about hosting Sendy here but it has to be with the domainSuljam.work. Where I can log in, it's all SSL and fine. Literally the only problem is the custom domains.newsletter CNAME 300 suljam.work.still directs to the root domain of the server rather thansuljam.workand still seems to have problems with the SSLAlso Sendy is at
suljam.worknow. No sub domain or directory. Thought this would simplify everythingOk, maybe a quick resolve. Can I change the domain of the installation registered to my license?
Sorry to pester you. I seem to have it redirecting now ok, just having a problem for each domain name and the SSL certificate.
suljam.uksecure (where Sendy is located)techmo.uksecure hosted on Vercelnewsletter.techmo.ukNOT secure Vercel CNAME redirect to SendyIf you want to use 'https' for
newsletter.techmo.uk, you'd need to install an SSL certificate fornewsletter.techmo.ukon the server that is hostingsuljam.workI have used
Certbotto add the SSL certs into the directory where Sendy is installedhome/admin/www/on the server. Hopefully this is the last stretch of this marathon lol.Thank you!!! You have been amazing, please let me know if there is anyway I can repay your knowledge, patience and kindness, even in reviews.
IT WORKS!!! I swear I could hug you right now!!! Thank you!!!!! 🙌
Great to hear that! 😊