When you run one or more of
any type of Web, DNS, Email, FTP or any other application server’s directly on
your site, then you are require Static IP address. If you run a website hosting
in Virtual Private Server (VPS), end user will types the domain name (e.g
www.example.com) into their web browser it is translated via a DNS service to a
specific IP address of your web server. Rules of thumb, any type of server is
mandatory to have static IP Address because it is constant, otherwise the end
user or the websites visitors will experience inaccessible website. This post
will share how to setup Static IP Address on CentOS 6.4.
1. Configure static IP address
on eth0 :
[root@centos64 ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0