1. Start -> Settings -> Control Panel -> Network Connections 2. Right click and go to properties of the enabled/active NIC 3. Highlight on TCP/IP and click on properties 4. Select ” Use the following IP address ” 5. Enter your IP information for the server. 6. Click on Advanced 7. Click Add on the… Continue reading How to bind IPs on a Windows Server
DNS Overview
Most records will be A records. This allows the greatest versatility in pointing your domain names where you want them go. Each record consists of a host name and an IP address. Host field: The host name for that particular A record. The host name should be what precedes the .domain.com in your FQDN (fully… Continue reading DNS Overview
Error: Cannot find SSL binaries under /usr
This happens with the configure script for apache cannot find the “openssl” (or “ssleay”) binaries in any of /usr/bin/openssl /usr/sbin/openssl /usr/apps/openssl The usual location for “openssl” is /usr/bin/openssl On a debian system, run apt-get install openssl
DirectAdmin : Apache stops responding but is running
A few things that could cause that are: Possible Causes: 1) MaxClients set to a value too low 2) If you have over about 800 sites, the ErrorLog files open too many file descriptors and apache won’t be able to log the errors and may stop responding. Solutions: 1) edit /etc/httpd/conf/httpd.conf and increase the MaxClients setting to something… Continue reading DirectAdmin : Apache stops responding but is running
DirectAdmin : Updating Apache to the latest version
Updating Apache to the latest version You can check the current version of apache by running httpd -v If you wish to update your 1.3 version of apache to the most recent, run the following: cd /usr/local/directadmin/customapache ./build clean ./build update ./build apache_mod_ssl If you’re using apache 2.x, use “./build apache_2” isntead of apache_mod_ssl. This… Continue reading DirectAdmin : Updating Apache to the latest version
Crontab basics
cron is a unix, solaris utility that allows tasks to be automatically run in the background at regular intervals by the cron daemon. These tasks are often termed as cron jobs in unix , solaris. Crontab (CRON TABle) is a file which contains the schedule of cron entries to be run and at specified times.… Continue reading Crontab basics
How can I reserve an ip via WHM so that it will not be used to setup accounts?
Click on the “Show/Edit Reserved IPs” link under “IP Functions”. Check the box of the ip you want to reserve and add a short comment to the Reason section. This ip will no longer be used to setup accounts via WHM/Cpanel.
DirectAdmin : Downgrade from apache 2 back to apache 1.3
How to downgrade from apache 2 back to apache 1.3 If you need to go back to apache 1.3 after installing apache 2, you’ll need to do the following: 1) Restore the old httpd.conf file: cp -f /etc/httpd/conf/httpd.conf.1.3.backup /etc/httpd/conf/httpd.conf 2) Get DirectAdmin to use the old httpd.conf files for the users. Edit the /usr/local/directadmin/conf/directadmin.conf file… Continue reading DirectAdmin : Downgrade from apache 2 back to apache 1.3
How do I upgrade Apache on my Cpanel box?
There are two ways to update your Apache version on cpanel. The first is from within WHM. Underneath the “Software” section in the menubar is “Apache Update.” Click this link and then follow the on screen directions. The second option is from the command line. Run “/scripts/easyapache”, which will provide an update interface including a few more options than… Continue reading How do I upgrade Apache on my Cpanel box?
How to block ip addresses with iptables
I have an ip address attacking my server or taking up all my httpd connections so none of my sites work. In order to correct this you will want to use the netstat -n command to see the ip addresses connected to your server. Once you have the ip address you want to block you… Continue reading How to block ip addresses with iptables