How to change the port of Tomcat from 8080 to 80 on Ubuntu

1. Edit server.xml and change port=”8080″ to “80” sudo vi /var/lib/tomcat7/conf/server.xml <Connector connectionTimeout=”20000″ port=”8080″ protocol=”HTTP/1.1″ redirectPort=”8443″/> 2. Edit tomcat7 file sudo vi /etc/default/tomcat7 uncomment and change #AUTHBIND=no to yes 3. Install authbind sudo apt-get install authbind 4. Run the following commands to provide tomcat7 read+execute on port 80. sudo touch /etc/authbind/byport/80 sudo chmod 500 /etc/authbind/byport/80 … More How to change the port of Tomcat from 8080 to 80 on Ubuntu

Unable to connect cpanel using IP/whm and IP/cpanel

If cpanel cannot be accessed using IP/whm and IP/cpanel, but can be accessed using IP:2086 and IP:2082, then here goes the solution for the same. The reason for this issue due to missing some lines in httpd.conf. This can be fixed by following the below steps. 1) Open the apache configuration file(httpd.conf) in your favorite … More Unable to connect cpanel using IP/whm and IP/cpanel

Sendmail Keeps Listening Local IP:127.0.0.1

Check the listening Ports using netstat [root@server mail]# netstat -vatn Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN Here the port 25 is listening to the loop back IP address, to fix this first you need to edit /etc/mail/sendmail.mc, find the following section: … More Sendmail Keeps Listening Local IP:127.0.0.1

Manual Email Migration – cPanel to cPanel

Manual email migration in  cPanel usually happens during the conversion of cPanel account in to an addon domain or if we don’t want to take a full account backup. Here is a quick guide to migrate emails from one cPanel to another. Assumption Mentioning source cPanel account in/as Old Server and Destination cPanel account in/as New Server … More Manual Email Migration – cPanel to cPanel

Access phpMyAdmin directly from a domain

To access phpMyAdmin directly from a domain (http://example.com/phpmyadmin) you need to install phpMyAdmin on your hosting account. This way you won’t have to first log in to your cPanel when you want to use phpMyAdmin. Follow the steps below to complete the installation: Download the installation package from this page. Extract the package on your … More Access phpMyAdmin directly from a domain