LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Can I run apache http and https on different servers for one domain? (https://www.linuxquestions.org/questions/linux-software-2/can-i-run-apache-http-and-https-on-different-servers-for-one-domain-460939/)

izghitu 07-04-2006 11:22 AM

Can I run apache http and https on different servers for one domain?
 
Hi,

I have 2 servers and 1 domain name. What I am trying to do is to make all the http://www.domain.com to open from server 1 and all https://www.domain.com to open from server 2. The domain name A record is pointed to server 1.

Can please somebody tell me how this can be done without using a load balancer?

Please help.

Thank you

raskin 07-04-2006 12:58 PM

You can run port forwarding of 443 to second server by setting up firewall on the one connected to Internet by IP corresponding to domain. Don't know details well, read iptables manual, must be rather easy.


All times are GMT -5. The time now is 04:50 AM.