0

I would like to serve multiple web applications and make them available via domain names inside of a test network. Therefore I would like to to use PowerDNS because it seems to have a good API. The web applications will be accessed by a small cluster of crawlers.

I picture to run the same web application with the same domain name on two servers for load balancing. Can PowerDNS point to the server with less load or do I need another piece of software to achieve this? What do I need to look for? Something like "HTTP Load balancer"? And how would such a software work together with the DNS?

3
  • Be careful wether client-side (or in-between) caching will help or hurt you. I would not recommend using DNS-Load-Balancing if you have any sort of session on your web app. If nothing will brake if one client gets the html page from server A, the css from server B, the JavaScript from server C and the image from server D then you are probably OK. I don't know if PowerDNS is capable of what you are looking for, but i'm optimistic. Maybe search for keepalived integration with PowerDNS. Commented Feb 23, 2016 at 11:42
  • I serve static pages for now. Therefore it doesn't matter if the contents of one page comes from different servers. BUT I'm interested in a solution that would also work with sessions because that is the more likely/general case. Commented Feb 23, 2016 at 11:51
  • What you want is called a reverse proxy or load-balancer. HAproxy, Nginx, Pound and Apache all offer some of the features you want. Commented Feb 23, 2016 at 12:25

1 Answer 1

1

It helped me to read about the different Load Balancing solutions (DNS, Hardware, Software). Thank you Silent-Bob for pointing out that the sessions should be considered.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.