Score:0

Apache2 with Virtualhosts and Cloudflare are not working

sm flag

I have a Debian 11 Server with one public IPv4 Address and One Domain. The subdomain mail is defined in a virtual host with a reverse proxy for mailcow. The subdomain mail is also the reverse DNS for the server. The root Domain and www subdomain are configured in a virtual host for my Wordpress Site. All is working fine. If I enable a proxy like Cloudflare for the root domain and www subdomain, it rewrites all with the content of the subdomain mail. Why doesn't work it with a cdn like cloudflare to show me the right page. I don't know much about nginx as well as apache2. So would it work with nginx? I have no idea anymore.

paladin avatar
id flag
I would guess this is more of a cloudflare configurtion problem than anything else, but I might also be wrong, cause I've never tried such setup.
M. Loe avatar
sm flag
Yes I think also that is a cloudflare setup problem, but I don't where. Do you think it would be work on an nginx server?
M. Loe avatar
sm flag
The problem is that, if I enable Cloudflare proxy on my Domain example.com and Subdomain www. on full (not strict) SSL mode, I got redirect to my mailserver sub domain (mail.), which isn't enabled in Cloudflare as proxy.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.