Skip to content

Custom Domain location problem

SulSul
edited August 2021 in Troubleshooting

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 CNAME record? Did you setup any vhost in your httpd.conf or configure anything else?

  • Hi Ben,

    I set the AllowOverride All in the httpd but nothing else. No <VirtualHost> set either

  • Hi,

    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 the CNAME record for newsletter.techmo.uk to email.suljam.work instead of just suljam.work.

  • I've having real issues with the sub domain of email.suljam.work so it's probably best I stick with the original suljam.work/email directory 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 CNAME record newsletter.techmo.uk in 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.work domain going through Cloudflare. I only added it due to issues with my normal SSL - The techmo.uk domain goes through Gandi.net DNS settings and the main domain goes to Vercel and I set up a CNAME for newsletter.techmo.uk to go to suljam.work

  • Ahhh just saw the bit for email.suljam.work so turned off the proxy for that

  • 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/email this was acting weird so I thought a subdomain of email.suljam.work would 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.uk and I originally though about hosting Sendy here but it has to be with the domain Suljam.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 than suljam.work and still seems to have problems with the SSL

  • Also Sendy is at suljam.work now. No sub domain or directory. Thought this would simplify everything

  • Ok, 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.uk secure (where Sendy is located)
    techmo.uk secure hosted on Vercel
    newsletter.techmo.uk NOT secure Vercel CNAME redirect to Sendy

    :(

  • newsletter.techmo.uk NOT secure Vercel CNAME redirect to Sendy

    If you want to use 'https' for newsletter.techmo.uk, you'd need to install an SSL certificate for newsletter.techmo.uk on the server that is hosting suljam.work

  • I have used Certbot to add the SSL certs into the directory where Sendy is installed home/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.

  • SulSul
    edited August 2021

    IT WORKS!!! I swear I could hug you right now!!! Thank you!!!!! 🙌

  • BenBen
    edited August 2021

    Great to hear that! 😊

This discussion has been closed.