Yii Framework Forum: Deploy Application Using Load Balancer - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Deploy Application Using Load Balancer Deploy Application using load balancer Rate Topic: -----

#1 User is offline   nicholasnet 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 17
  • Joined: 01-February 11

Posted 08 November 2012 - 10:58 PM

I have fairly large application that uses sub-domain as pointer to modules like this. However, I am using load balancer for my application. Problem is if I directly hit web-server then it works but if I hit application server via load balancer then it does not work. In YII community does anybody have any experience in deploying application with load balancer (with Parametrized URL used preferably). Any help will be highly appreciated.
0

#2 User is offline   djsistemasweb 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 18
  • Joined: 05-January 10

Posted 05 January 2013 - 01:07 PM

I want to deploy my Yii application in two web servers. I just got an idea: resolve load balancing through the links. That is, I will configure two web servers:

Web server 1 with two domains: www.mydomain.com and ws1.mydomain.com
Web server 2 with one domain: ws1.midominio.com

Then, if a page contains five links, their URLs will be, for example:

http://ws1.mydomain.com/index.php
http://ws2.mydomain.com/index.php
http://ws1.mydomain.com/index.php
http://ws2.mydomain.com/index.php
http://ws1.mydomain.com/index.php

I was wondering if this solution may has any problem. Tecnically, I don't see any problem, but maybe with search engines. What do you think?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users