Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2013
    Posts
    60

    1 site on 2 vps, visitor connect with random vps

    I have 2 vps, and in both vps i have same site xyz.com

    and i want when visitor visit on my site it randly connect with any vps

    How can i do this?
    Please suggest me in breif

  2. #2
    For this you need a load balancer like Nginx or HA proxy. Make a search with those terms and you will find the answer.
    OPENSTACK Dedicated Cloud | 128 GB RAM - 12 Cores Intel Xeon EC5 | Unbeatable Price
    Amsterdam Telecity - Madrid Interxion
    DigitalValley.io

  3. #3
    It depends on your reason for doing so.

    Like said above, you could use nginx or HA.

    You could use look into round robin DNS too.

  4. #4
    Join Date
    Jun 2003
    Location
    World Wide Web
    Posts
    581
    You can achieve this by round robin DNS.
    SupportExpertz.com - the name says it all!
    Managed Cloud Servers
    Server Management and Monitoring
    24x7 outsourced customer support

  5. #5
    Join Date
    Dec 2013
    Posts
    6
    Take in consideration also the cookies for the websites if it needs login , the capacity of load of the servers,etc .

    If you need to preserve for a user the sessions and cookies you can use Nginx with sticky session module.

Similar Threads

  1. random visitor on rand server (same domain)
    By mylikes786 in forum Programming Discussion
    Replies: 2
    Last Post: 11-27-2013, 10:07 AM
  2. visitor connect with any randomly ip to my site
    By mylikes786 in forum Hosting Security and Technology
    Replies: 2
    Last Post: 11-22-2013, 12:40 AM
  3. pptpd VPN: assign random IP address on connect
    By chatmasta in forum Hosting Security and Technology
    Replies: 4
    Last Post: 10-16-2012, 09:18 AM
  4. My VPS Online but I can not connect to my VPS (LydiaNET)
    By Quize in forum Providers and Network Outages and Updates
    Replies: 0
    Last Post: 11-09-2011, 03:18 AM
  5. Strange random drops in awstat visitor numbers
    By thetoad in forum Web Hosting
    Replies: 2
    Last Post: 05-15-2010, 07:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •