You can check the current version of apache by running
CustomBuild – current
If you’re using custombuild (as most new boxes are), run the following
./build php n
CustomApache – end-of-life
If you are using customapache with the 1.3 version of apache to the most recent, run the following:
If you’re using apache 2.x, use “./build apache_2” isntead of apache_mod_ssl.
This should update both the configure options and the version of apache to the most recent version. Once the update has completed, you’ll need to restart apache:
/sbin/service httpd restart
If you are using CPanel, you should add the IP addresses through WHM. Do not follow these instructions if you are using CPanel.
If you want to assign the addresses 188.8.131.52 – 184.108.40.206 to your server, you will need to create a RANGE file.
If you already have a range file, you will need to create a new one for the new range of IPs you are adding, eg ‘nano ifcfg-eth1-range1` . If you have one named range1, name the next range2 and so on.
Place the following text in the file:
Note: CLONENUM_START defines where the alias will start. If this is the second range file, you will need to set CLONENUM_START to a value higher than the number of IP addresses assigned. To check what you currently have used, you can run ‘ifconfig –a | grep eth1’. This will list devices such as eth1:0, eth1:1, eth1:2, and so on. If you are currently using upto eth1:16, you will need to set CLONENUM_START to 17 to assign the IPs correctly.