Hello, I am new to Cloudflare (using the free CDN service) and have a question that I’m hoping someone can help me out with.
- I have an Apache web server running on CentOS behind a firewall that I would like to limit to SSL only. I have confirmed it is accessible by IP over the internet and I am at the part where I just need to set up SSL between Cloudflare CDN and the origin server.
However, I need to host two websites on different domains that must both be SSL only. If I’m understanding the Apache documentation correctly, it is saying that to do multiple domains/websites on the same server, I must use virtual hosts which seems to work fine on http port 80 but not 443 https for separate domains. The documentation seems to indicate that this is expected behavior and to host multiple https websites for multiple domains I just need to create a 2nd CentOS/Apache server.
I can do that but I only have one single public IP to work with at the moment. So, I was thinking of setting up a 2nd server that listens on a custom SSL port so I can just port forward and they can share the same public IP. But with Cloudflare, I’m not seeing the option to specify the custom port for the origin server to tell Cloudflare to try a specific, custom https port for a specific domain.
Does anyone know where/how I can set that option or if what I’m trying to do is even possible?
Thank you so much in advance for any time and assistance!