Host a domain without CPanel or Plesk Control Panel

last updated in Categories , , ,

Q. How do I host a domain without CPanel or Plesk Control Panel? I am using CentOS 4.4 and I have very little knowledge of Linux command and tools (especially Apache, BIND etc).

A. If you’ve been looking for the perfect free control panel to automate your hosting Linux server needs, select ISPConfig.

ISPConfig is an open source hosting control panel for Linux. ISPConfig is licensed under BSD license.

It can manage following services:
* Httpd (virtual hosts, domain and IP based)
* FTP
* Bind (A, CNAME, MX and SPF Records)
* POP3 Auto-Responder
* MySQL client-databases
* Webalizer statistics
* Harddisk quota
* Mail-Quota
* Traffic limits
* IP-addresses
* SSL
* SSI
* Shell-access
* Mailscanner (Antivirus)
* Firewall

=> Download link

Apache Tomcat: Please increase maxThreads error and solution

last updated in Categories ,

Q. I am getting following error:

…All threads are busy, waiting. Please increase maxThreads or check the servlet status…
How do I fix this problem?

A. You need to setup a higher value for maxProcessors in Tomcat’s server.xml file. Open the file:

# vi server.xml

Set the maxProcessor value to 500 or something higher as per your requirement. Restart the Apache/Tomcat to take effect.

Apache Address already in use: make_sock: could not bind to port 80 or 443 error and solution

last updated in Categories , , , , , , ,

Q. How do I fix an error, while restarting Apache ~ Address already in use: make_sock: could not bind to port 80?

A. If you are running SELinux disable temporary for port 80.

Apache Address already in use: make_sock: could not bind to port 80 error and solution

First make sure port 80/443 is not used by any other service or application with netstat command:

# netstat -tulpn| grep :80

If port 80 is bind to httpd, kill all process:
# killall -9 httpd

Now start the httpd:
# /etc/init.d/httpd start

Also make sure you are root while starting the httpd.

Apache 403 Forbidden Error and Solution

last updated in Categories , , , , , , , , , , , ,

Q. I have successfully configured Apache web server for my client. But why does my clients website just say “Error 403 Forbidden”? For example when client send request http://myclient.com/something/ Apache generate a 403 error. How do I troubleshoot this problem?