Question:
How to link multiple webservers?
anonymous
2008-04-13 09:59:47 UTC
I have two servers, Apache webserver on both, how can I link them to work together to make site faster?
Three answers:
Lucius Domitius
2008-04-13 10:28:30 UTC
Ive set it up using different server ports , so there is no direct conflict between them. You can either run two separate server instances bound to these ports, or use Apache's virtual hosting facility to create two virtual servers,

RewriteEngine on

RewriteRule ^/(.*):SSL$ https://%{SERVER_NAME}/$1 [R,L]

RewriteRule ^/(.*):NOSSL$ http://%{SERVER_NAME}/$1 [R,L]



Use fully-qualified hyperlinks (because you have to change the URL scheme). Using mod_rewrite however, you can manipulate relative hyperlinks, to achieve the same effect.



This rewrite ruleset lets you use hyperlinks of the form , to switch to HTTPS in a relative link. (Replace SSL with NOSSL to switch to HTTP.)



If you look around you should be able to find it all layed out for ya so you only change to match your setup.
?
2016-11-07 09:53:12 UTC
Your in all danger on the final song. How are you surely forwarding the 2d area to the 1st ? With iFrame ? if so, the respond must be interior the iframe application source code. this is beneficial to apply a distinctive technique to do the forwarding. Is the internet internet site additionally hosted with godaddy ? the clarification I ask is with what's common as familiar cpanel internet hosting, there's a function geared up in which will assist you are attempting this kind of forwarding (till you're attempting to masks the url interior the demonstrate bar). in case you furnish some further suggestion i will provide help to greater suitable.
Alvin B
2008-04-13 10:12:32 UTC
http://howtoforge.com/high_availability_loadbalanced_apache_cluster


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...