Bài đăng

Đang hiển thị bài đăng từ Tháng 1, 2014

DNS server(bind server) installation and configuration

Hình ảnh
Pranaam to all Bhai ji _/\_ Today we will discuss about DNS server aka bind server which helps in mapping domain name to IP and vice versa means , whenever we want to connect to any domain by typing ip its name , machine needs to map that name to ip so that it can connect to that ip and serve user request. for example , a user want to connect to google.com and for that user's machine needs ip address of google.com . for domain name to ip mapping we require DNS server. DNS server has  for domain name and when a client comes to it for domain name mapping , it give ip of domain to client and after that client connect to domain by using that ip address . so when user tried to connect to google.com, first of all request forwarded to DNS server for ip mapping once DNS server replied, user will connect to google.com by using that ip address. user machine will store ip mapped by DNS server of domain in cache for further use. DNS server also perform ip to domain name mappi

Configure DNS server with multiple domains

Hình ảnh
Pranaam to all bhai ji _/\_ First of all, warm hugs to Hardeep singh (without whom this Tutorial was not possible :') ) In this post we will discuss, how to setup DNS server for more then one domains already we have done with DNS server basic configuration in tutorial   http://www.mannulinux.org/2013/12/dns-serverbind-server-installation-and.html  . in last tutorial we configured DNS server for single domain lets start ;) my hostname is   ica.indishell.in IP of  DNS machine is 192.168.0.211 and nameserver is already defined in /etc/resolve.conf file i am going to setup DNS for domains zero.cool      hardeep.rocks billu.you configure named.conf file :- /etc/named.conf file is the configuration file for DNS server open file and configure it according to your requirement i am configuring DNS for 3 domains ( zero.cool   hardeep.rocks  billu.you ) so my /etc/named.conf file is like this ........ domain "zero.cool" is on serial number 1, domain nu

Linux: Building Basic High Availability Infrastructure for Web Servers

Hình ảnh
English! This is how I am going to post this topic. Do not ask me why. I know, it’s been a very long time since the last topic about something related to servers, but anyway, here goes a new one! This is going to be the ultime “ the-recipe-is-the-name “. Firstly, our logical topology, here is what we’re going to build:Hurray! Six servers ( ubuntu 12.04 server i386 ) divided into two load-balancers, two php web-servers, a “storage” and a dedicated database server. What is the main objective of this entire topology? Redundancy and Load Sharing! Imagine a scenario where your single web server is receiving millions and millions of HTTP requests per second, the CPU load is going insane, as well as the memory usage, when suddently “crash!”, the server dies without saying good-bye (probably because of some weird hardware outstage that you certainly won’t have time to debug). Well, this simple scheme might lead you into a brand new world of possibilities (one more time: