How To Set Up Apache Virtual Hosts on CentOS 6

About Virtual Hosts
Virtual Hosts are used to run more than one domain off of a single IP address. This is especially useful to people who need to run several sites off of one virtual private server. The sites display different information to the visitors, depending on with which the users accessed the site.There is no limit to the number of virtual hosts that can be added to a VPS.

Read more

Horde fails with large attachments

Is you Horde email failing due to file size attachments? Check the php.ini file in horde: Now edit the file: [root@server ~]# nano /etc/psa-webmail/horde/horde/php.ini upload_max_filesize = 5M Change to required value upload_max_filesize = 128M Save and exit and restart horde SERVICE HORDE RESTART Now check the php config file – php.ini for max_uploads and max_post … Read more

Add Private Name Servers to Plesk Domain

To Create and Register Your Domain Hosts in Parallels Plesk Panel Log in to Parallels Plesk Panel as an administrator. Go to the Websites & Domains tab, and then click DNS Settings. For the row with the Record Type of NS, click your domain name, change the following, and then click OK: Record type — … Read more

Testing Using Curl

Curl can be helpful in testing many things including web sites. See if curl is installed Using ssh: This will tell you if the system has curl installed. But you need to have libcurl, and the curl PHP extension to be able to use curl in PHP. To see if it’s enabled, simply do: in … Read more

Find All The Files Owned By a Particular User / Group

Find file owned by a group Use the following syntax:find directory-location -group {group-name} -name {file-name} Where, directory-location : Locate the file in this directory path. -group {group-name} : Find the file belongs to group-name. -name {file-name} : The file name or a search pattern In this example, locate or find all files belongs to a … Read more

Change OpenSSH Port CentOS

Want to change the ssh port for ssh? Here is a good tutorial. (Note: If you are making these changes – ssh to the server and keep the terminal open as you make the changes. Test with a new terminal. This way if something is amiss – you are not locked out.) Edit /etc/ssh/sshd_config, enter: … Read more

Verisign SSL Certificates

Verisign SSL Certificates You have generated a certificate request (CSR and private key) using plesk. You would like to know how to complete the certificate request process. The Verisign digital certificate can be downloaded in the X.509 format as three files. The three files are designated as: 1) End Entity Certificate 2) First Intermediate Certificate … Read more