﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="https://www.w3.org/2005/Atom">
  <channel>
    <title>Newest KB Articles in HC Linux Control Panel</title>
    <description>Recent additions to the knowledge base from Hosting Controller</description>
    <link>http://portal.hostingcontroller.com/kb/c33/hc-linux-control-panel.aspx</link>
    <pubDate>Fri, 12 Jun 2026 07:43:15 GMT</pubDate>
    <generator>SmarterTrack Enterprise 100.0.9343</generator>
    <atom:link href="http://portal.hostingcontroller.com/RSS.ashx?catid=33&amp;type=newestkbarticles" rel="self" type="application/rss+xml" />
    <item>
      <title>Apache problem upon installing SSL Certificate</title>
      <link>http://portal.hostingcontroller.com/kb/a3345/apache-problem-upon-installing-ssl-certificate.aspx</link>
      <pubDate>Tue, 22 Oct 2019 13:00:28 GMT</pubDate>
      <guid isPermaLink="false">kbarticle3345</guid>
      <description>&lt;div&gt;&lt;strong&gt;Question: Apache crashes upon installing SSL from the HC panel. What could be the reason for it?&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;Answer:&lt;/strong&gt; If all steps for SSL installation are performed using the HC panel, then Apache never crashes, and the SSL certificate is installed properly. Apache crashes only in such cases if manual tasks are performed for installing an SSL certificate on a website in the Apache Web Server. So, it is very strongly recommended to carry out the process using the HC10 panel instead of doing manual tasks, which could result in Apache crashing.&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;Reason for Apache to crash upon installing SSL:&amp;nbsp;&lt;/strong&gt; HC has its own mechanism for installing SSL certificates on Linux Websites. For this, as you generate a Certificate Request (CSR) using the HC panel from &lt;strong&gt;Provisioning &amp;gt;&amp;gt; Website Dashboard &amp;nbsp;&amp;gt;&amp;gt; Dedicated SSL,&lt;/strong&gt; then HC performs the following tasks:&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Creates a directory with website name like domain.com under &lt;strong&gt;/etc/ssl/hc/domain.com&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;Also, HC places both&lt;strong&gt;&amp;nbsp;domain.com.csr&amp;nbsp;&lt;/strong&gt;and &lt;strong&gt;domain.com.key&amp;nbsp;&lt;/strong&gt;files at the same location &lt;strong&gt;/etc/ssl/hc/domain.com&lt;/strong&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;Now, upon initiating an SSL Certificate install request from the HC panel, as these files and folders are missing from Apache, the service crashes and does not start.&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;How to prevent this from happening?&lt;/strong&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;strong&gt;Solution # 1 (Automate the process of SSL install using HC control panel):&amp;nbsp;&lt;/strong&gt;Perform all tasks for certificate request generation and its installation using the HC panel. This way, all processes will be automated, and Apache will never crash upon installing an SSL certificate on your website.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Solution # 2 (Case where manual CSR was generated):&lt;/strong&gt; For this case, where CSR was generated manually and SSL certificate received from the CA, using it, then in this case, Apache crash can be avoided by following the steps given below:&lt;/li&gt;&lt;/ol&gt;&lt;ul style="margin-left: 40px;"&gt;&lt;li&gt;Place the CSR and KEY files under your domain&amp;#39;s name directory at this path ( &lt;strong&gt;&lt;em&gt;/etc/ssl/hc/domain.com/&amp;nbsp;&lt;/em&gt;&lt;/strong&gt;). If the directory with your domain name does not exist, then create one manually.&lt;/li&gt;&lt;li&gt;Also, place your SSL Certificate file under SSL directory at this path ( &lt;em&gt;&lt;strong&gt;/web_root_directory/domain.com/special/ssl/&amp;nbsp;&lt;/strong&gt;&lt;/em&gt;). Once you have placed the files correctly on the specified paths, then install the SSL on your domain by following this documentation (&amp;nbsp;&lt;a href="https://help.hostingcontroller.com/hc10/default.aspx#pageid=installing_dedicated_ssl"&gt;https://help.hostingcontroller.com/hc10/default.aspx#pageid=installing_dedicated_ssl&lt;/a&gt; ).&lt;br&gt;&lt;strong&gt;Note:&lt;/strong&gt; Make sure the names of CSR, KEY and SSL Certificate files should be in proper format (Like domain.com.csr, domain.com.key, domain.com.crt).&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;We strongly recommend following the automated way (Solution # 1) of installing SSL certificates on Linux websites. For any further assistance, send an email to &lt;a href="mailto:support@hostingcontroller.com"&gt;support@hostingcontroller.com&lt;/a&gt;&lt;/div&gt;</description>
    </item>
    <item>
      <title>How to configure multiple PHP-FPM versions in HC10 panel?</title>
      <link>http://portal.hostingcontroller.com/kb/a3343/how-to-configure-multiple-php-fpm-versions-in-hc10-panel.aspx</link>
      <pubDate>Wed, 09 Oct 2019 05:09:17 GMT</pubDate>
      <guid isPermaLink="false">kbarticle3343</guid>
      <description>&lt;div&gt;
&lt;div&gt;To configure multiple PHP-FPM versions in HC10 panel, go to&amp;nbsp;&lt;img alt="" height="29" src="/AvatarHandler.ashx?fid=780226&amp;amp;key=3604246998" width="27" /&gt;&amp;nbsp;&lt;strong&gt;&amp;gt;&amp;gt; Server Manger &amp;gt;&amp;gt; Servers &amp;gt;&amp;gt; Edit&lt;/strong&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;img alt="" height="366" src="/AvatarHandler.ashx?fid=780227&amp;amp;key=1865394750" width="364" /&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;Click on Save &amp;amp; Edit Roles and move to &amp;lsquo;&lt;strong&gt;Scripting Settings&lt;/strong&gt;&amp;rsquo; section. There you will have to give path of &lt;strong&gt;PHP-FPM &lt;/strong&gt;configuration file which is by default located at this path: &lt;strong&gt;/etc/php-fpm.conf&lt;/strong&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;img alt="" height="358" src="/AvatarHandler.ashx?fid=780228&amp;amp;key=4096697636" width="447" /&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;Click &amp;lsquo;&lt;strong&gt;+ Add PHP Version&lt;/strong&gt;&amp;rsquo; again to add another version in HC panel which is installed on different location.&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;img alt="" height="385" src="/AvatarHandler.ashx?fid=780229&amp;amp;key=1305837260" width="441" /&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;Now create a Website on your Linux server through HC panel and enable scripting on it through its Dashboard:&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;img alt="" height="156" src="/AvatarHandler.ashx?fid=780230&amp;amp;key=1554519221" width="624" /&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;For any query please contact us at &lt;a href="mailto:support@hostingcontroller.com?subject=PHP-FPM%20configuration"&gt;support@hostingcontroller.com&lt;/a&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;</description>
    </item>
    <item>
      <title>How to run Multiple versions of PHP-FPM on Debian/Ubuntu?</title>
      <link>http://portal.hostingcontroller.com/kb/a3341/how-to-run-multiple-versions-of-php-fpm-on-debian-ubuntu.aspx</link>
      <pubDate>Wed, 09 Oct 2019 03:58:00 GMT</pubDate>
      <guid isPermaLink="false">kbarticle3341</guid>
      <description>&lt;p data-start="315" data-end="630" id="isPasted"&gt;&lt;strong data-start="315" data-end="326"&gt;PHP-FPM&lt;/strong&gt; (FastCGI Process Manager) is a PHP FastCGI implementation optimized for high-traffic environments. It allows you to run multiple PHP versions side-by-side, ideal for hosting diverse applications. This guide explains how to install and configure multiple PHP-FPM versions on &lt;strong data-start="601" data-end="621"&gt;Debian or Ubuntu&lt;/strong&gt; servers.&lt;/p&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;h2 data-start="637" data-end="653"&gt;Prerequisites&lt;/h2&gt;&lt;ul data-start="655" data-end="750"&gt;&lt;li data-start="655" data-end="728"&gt;&lt;p data-start="657" data-end="728"&gt;A Debian or Ubuntu-based server (Ubuntu 20.04+, Debian 10+ recommended)&lt;/p&gt;&lt;/li&gt;&lt;li data-start="729" data-end="750"&gt;&lt;p data-start="731" data-end="750"&gt;Root or sudo access&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;h2 data-start="757" data-end="785"&gt;Step 1: Update the System&lt;/h2&gt;&lt;p data-start="787" data-end="845"&gt;Before proceeding, ensure your package list is up to date:&lt;/p&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir="ltr"&gt;&lt;code&gt;sudo apt update &amp;amp;&amp;amp; sudo apt upgrade -y&lt;br&gt;&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;h2 data-start="904" data-end="939"&gt;Step 2: Add the &lt;code data-start="923" data-end="935"&gt;ondrej/php&lt;/code&gt; PPA&lt;/h2&gt;&lt;p data-start="941" data-end="1010"&gt;The &lt;code data-start="945" data-end="957"&gt;ondrej/php&lt;/code&gt; repository provides access to multiple PHP versions:&lt;/p&gt;&lt;pre data-start="1012" data-end="1125"&gt;&lt;div&gt;&lt;div&gt;&lt;code&gt;sudo apt install -y software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt update
&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;h2 data-start="1132" data-end="1176"&gt;Step 3: Install Apache and FastCGI Module&lt;/h2&gt;&lt;p data-start="1178" data-end="1222"&gt;Install Apache and required FastCGI modules:&lt;/p&gt;&lt;pre data-start="1224" data-end="1284"&gt;&lt;div&gt;&lt;div&gt;&lt;code&gt;sudo apt install -y apache2 libapache2-mod-fcgid
&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;p data-start="1286" data-end="1318"&gt;Enable necessary Apache modules:&lt;/p&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir="ltr"&gt;&lt;code&gt;sudo a2enmod actions fcgid alias proxy_fcgi&lt;br&gt;&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p data-start="1377" data-end="1392"&gt;Restart Apache:&lt;/p&gt;&lt;pre data-start="1394" data-end="1436"&gt;&lt;div&gt;&lt;div&gt;&lt;code&gt;sudo systemctl restart apache2
&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;h2 data-start="1443" data-end="1483"&gt;Step 4: Install Multiple PHP Versions&lt;/h2&gt;&lt;p data-start="1485" data-end="1587"&gt;Install the desired PHP versions and PHP-FPM packages. Below is an example with PHP 7.4, 8.0, and 8.1:&lt;/p&gt;&lt;pre data-start="1589" data-end="1819"&gt;&lt;div&gt;&lt;div&gt;&lt;code&gt;sudo apt install -y php7.4 php7.4-fpm php7.4-cli php7.4-mysql php7.4-curl php7.4-zip \
php8.0 php8.0-fpm php8.0-cli php8.0-mysql php8.0-curl php8.0-zip \
php8.1 php8.1-fpm php8.1-cli php8.1-mysql php8.1-curl php8.1-zip
&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;p data-start="1821" data-end="1859"&gt;You can verify installed PHP versions:&lt;/p&gt;&lt;pre data-start="1861" data-end="1902"&gt;&lt;div&gt;&lt;div&gt;&lt;code&gt;php7.4 -v
php8.0 -v
php8.1 -v
&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;h2 data-start="1909" data-end="1954"&gt;Step 5: Configure PHP-FPM Pools (Optional)&lt;/h2&gt;&lt;p data-start="1956" data-end="2093"&gt;Each PHP version installs its own FPM service and pool configuration file. You can adjust settings such as user, group, and socket paths.&lt;/p&gt;&lt;p data-start="2095" data-end="2115"&gt;Example for PHP 7.4:&lt;/p&gt;&lt;pre data-start="2117" data-end="2171"&gt;&lt;div&gt;&lt;div&gt;&lt;code&gt;sudo nano /etc/php/7.4/fpm/pool.d/www.conf
&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;p data-start="2173" data-end="2235"&gt;Update the following lines as needed (optional customization):&lt;/p&gt;&lt;pre data-start="2237" data-end="2362"&gt;&lt;div&gt;&lt;div&gt;&lt;code&gt;user = www-data
group = www-data
listen = /run/php/php7.4-fpm.sock
listen.owner = www-data
listen.group = www-data
&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;p data-start="2364" data-end="2432"&gt;Repeat for other versions (&lt;code data-start="2391" data-end="2425"&gt;/etc/php/8.0/fpm/pool.d/www.conf&lt;/code&gt;, etc.)&lt;/p&gt;&lt;p data-start="2434" data-end="2463"&gt;Restart all PHP-FPM services:&lt;/p&gt;&lt;pre data-start="2465" data-end="2578"&gt;&lt;div&gt;&lt;div&gt;&lt;code&gt;sudo systemctl restart php7.4-fpm
sudo systemctl restart php8.0-fpm
sudo systemctl restart php8.1-fpm
&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;h2 data-start="2585" data-end="2642"&gt;Step 6: Configure Apache Virtual Hosts per PHP Version&lt;/h2&gt;&lt;p data-start="2644" data-end="2775"&gt;To serve different PHP versions on different sites, create separate Apache virtual hosts using &lt;code data-start="2739" data-end="2753"&gt;&amp;lt;FilesMatch&amp;gt;&lt;/code&gt; and &lt;code data-start="2758" data-end="2774"&gt;ProxyPassMatch&lt;/code&gt;.&lt;/p&gt;&lt;p data-start="2777" data-end="2810"&gt;Example for a site using PHP 7.4:&lt;/p&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir="ltr"&gt;&lt;code&gt;&amp;lt;VirtualHost *:80&amp;gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; ServerName site74.example.com&lt;br&gt;&amp;nbsp; &amp;nbsp; DocumentRoot /var/www/site74&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;FilesMatch \.php$&amp;gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SetHandler &amp;quot;proxy:unix:/run/php/php7.4-fpm.sock|fcgi://localhost/&amp;quot;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/FilesMatch&amp;gt;&lt;br&gt;&amp;lt;/VirtualHost&amp;gt;&lt;br&gt;&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p data-start="3046" data-end="3079"&gt;Example for a site using PHP 8.0:&lt;/p&gt;&lt;pre data-start="3081" data-end="3313"&gt;&lt;div&gt;&lt;div&gt;&lt;code&gt;&amp;lt;VirtualHost *:80&amp;gt;
    ServerName site80.example.com
    DocumentRoot /var/www/site80

    &amp;lt;FilesMatch \.php$&amp;gt;
        SetHandler &amp;quot;proxy:unix:/run/php/php8.0-fpm.sock|fcgi://localhost/&amp;quot;
    &amp;lt;/FilesMatch&amp;gt;
&amp;lt;/VirtualHost&amp;gt;
&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;p data-start="3315" data-end="3360"&gt;Enable your virtual hosts and restart Apache:&lt;/p&gt;&lt;pre data-start="3362" data-end="3455"&gt;&lt;div&gt;&lt;div&gt;&lt;code&gt;sudo a2ensite site74.conf
sudo a2ensite site80.conf
sudo systemctl reload apache2
&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;h2 data-start="3462" data-end="3489"&gt;Step 7: Verify the Setup&lt;/h2&gt;&lt;p data-start="3491" data-end="3546"&gt;Create a &lt;code data-start="3500" data-end="3510"&gt;test.php&lt;/code&gt; file in each site&amp;#39;s &lt;code data-start="3531" data-end="3545"&gt;DocumentRoot&lt;/code&gt;:&lt;/p&gt;&lt;pre data-start="3548" data-end="3685"&gt;&lt;div&gt;&lt;div&gt;&lt;code&gt;echo &amp;quot;&amp;lt;?php phpinfo(); ?&amp;gt;&amp;quot; | sudo tee /var/www/site74/test.php
echo &amp;quot;&amp;lt;?php phpinfo(); ?&amp;gt;&amp;quot; | sudo tee /var/www/site80/test.php
&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;p data-start="3687" data-end="3865"&gt;Visit &lt;code data-start="3693" data-end="3729"&gt;http://site74.example.com/test.php&lt;/code&gt; and &lt;code data-start="3734" data-end="3770"&gt;http://site80.example.com/test.php&lt;/code&gt; in a browser. Each should show a different PHP version with &lt;strong data-start="3831" data-end="3846"&gt;FPM/FastCGI&lt;/strong&gt; as the Server API.&lt;/p&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;h2 data-start="3872" data-end="3906"&gt;Step 8: Manage PHP-FPM Services&lt;/h2&gt;&lt;p data-start="3908" data-end="3966"&gt;Each PHP version runs as its own service. Useful commands:&lt;/p&gt;&lt;pre data-start="3968" data-end="4079"&gt;&lt;div&gt;&lt;div&gt;&lt;code&gt;sudo systemctl status php7.4-fpm
sudo systemctl restart php8.0-fpm
sudo systemctl enable php8.1-fpm
&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;h2 data-start="4086" data-end="4099"&gt;Disclaimer&lt;/h2&gt;&lt;blockquote data-start="4101" data-end="4306"&gt;&lt;p data-start="4103" data-end="4306"&gt;The instructions provided are for informational purposes only. Proceed at your own risk. Hosting Controller Inc. is not responsible for any data loss or system issues following this guide.&lt;/p&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;</description>
    </item>
    <item>
      <title>How to redirect HTTP request to HTTPS in Apache Web Server and how this process is automated in HC</title>
      <link>http://portal.hostingcontroller.com/kb/a2318/how-to-redirect-http-request-to-https-in-apache-web-server-and-how-this-process-is-automated-in-hc.aspx</link>
      <pubDate>Tue, 11 Dec 2018 07:35:19 GMT</pubDate>
      <guid isPermaLink="false">kbarticle2318</guid>
      <description>&lt;div&gt;&lt;strong&gt;Question:&amp;nbsp;How to automatically redirect HTTP request to HTTPS in Apache Web Server?&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;Answer:&amp;nbsp;&lt;/strong&gt;In this knowledge base article, we have explained manual mechanism to redirect websites from HTTP to HTTPS. Note that if you are using Hosting Controller control panel for managing your Linux websites then these steps are not required as we have explained in the end of this kb article.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;Manual Steps:&lt;/strong&gt; Using HC Panel interface when you enable SSL certificate on a website it will create only HTTPS (:443) entries in the apache web server. Those who do not want to map HTTP (:80) virtual host entry in apache then you can simply redirect the all non-secure web requests toward secure HTTPS by following below instructions:&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Access the Linux Server and go to path &amp;quot;/etc/httpd/conf.d&amp;quot;&lt;br&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;Create a file with name &amp;nbsp;redirect.conf&lt;br&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;Open the file in editor vi redirect.conf and make an entry for a website that you want to redirect automatically from HTTP to HTTPS&lt;br&gt;&lt;br&gt;&lt;span style="background-color:#40E0D0;"&gt;&amp;lt;/VirtualHost&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;span style="background-color:#40E0D0;"&gt;&amp;lt;VirtualHost 192.168.0.54:80&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;span style="background-color:#40E0D0;"&gt;&amp;nbsp; &amp;nbsp;ServerName linuxsite1.com&lt;/span&gt;&lt;br&gt;&lt;span style="background-color:#40E0D0;"&gt;&amp;nbsp; &amp;nbsp;Redirect permanent / https://linuxsite1.com/&lt;/span&gt;&lt;br&gt;&lt;span style="background-color:#40E0D0;"&gt;&amp;lt;/VirtualHost&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;span style="background-color:#AFEEEE;"&gt;&amp;lt;VirtualHost 192.168.0.54:80&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;span style="background-color:#AFEEEE;"&gt;&amp;nbsp; &amp;nbsp;ServerName mysite2.com&lt;/span&gt;&lt;br&gt;&lt;span style="background-color:#AFEEEE;"&gt;&amp;nbsp; &amp;nbsp;Redirect permanent / https://mysite2.com/&lt;/span&gt;&lt;br&gt;&lt;span style="background-color:#AFEEEE;"&gt;&amp;lt;/VirtualHost&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;br&gt;Save the file and exit from editor&lt;br&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;Now open httpd.conf and include the redirect.conf file in it&lt;br&gt;IncludeOptional conf.d/redirect.conf&lt;br&gt;&lt;br&gt;save and exit&lt;br&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;Restart httpd service&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;Automated process via HC panel :&lt;/strong&gt; As also explained above Http to Https redirection is already automated in HC panel and you don&amp;#39;t have to do any manual tweaks for it.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Upon installing SSL certificate on a website via HC panel , HC panel automatically adds a file domain.com.conf under &amp;quot;/etc/httpd/hc&amp;quot; with the mechanism to redirect any http request to that website towards https URL.If this is not somehow working on your website then open ticket by sending an email to support@hostingcontroller.com&lt;/div&gt;</description>
    </item>
    <item>
      <title>How to use Let’s Encrypt in HC v10</title>
      <link>http://portal.hostingcontroller.com/kb/a1313/how-to-use-lets-encrypt-in-hc-v10.aspx</link>
      <pubDate>Wed, 15 Aug 2018 12:32:26 GMT</pubDate>
      <guid isPermaLink="false">kbarticle1313</guid>
      <description>&lt;div&gt;&lt;strong&gt;Question:&lt;/strong&gt; &lt;strong&gt;Configuring Let's&amp;nbsp;Encrypt in HC10 for Linux platform&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;HC10 gives you the option to install free SSL using Lets Encrypt. &lt;strong&gt;Certbot&lt;/strong&gt; package is required to be installed prior to configuring Let’s Encrypt with Hosting Controller. To install certbot package, run the following command:&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;yum install certbot&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;or&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;sudo apt-get install certbot&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;Once the package is installed, following steps will be required for configuring Lets Encypt on Apache WebServer in HC10:&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;&lt;u&gt;Configuring Lets Encrypt on Apache WebServer&lt;/u&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Login as Global Admin in HC10.&lt;/li&gt;&lt;li&gt;Click &lt;img alt="" height="15" src="/AvatarHandler.ashx?fid=747927&amp;amp;key=2598254780" width="17"&gt;&amp;nbsp;and then navigate to &lt;strong&gt;Servers &amp;gt;&amp;gt; Edit Server &amp;gt;&amp;gt; WebServer&lt;/strong&gt;.&lt;/li&gt;&lt;li&gt;Now select the option &lt;strong&gt;Automated SSL (Letsencrypt&lt;/strong&gt;). See below screenshot for clarity:&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;img alt="" height="419" src="/AvatarHandler.ashx?fid=747928&amp;amp;key=1297865162" width="574"&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;ol&gt;&lt;li value="4"&gt;&lt;strong&gt;Acme client path&lt;/strong&gt; will be automatically fetched as you have installed &lt;strong&gt;certbot&lt;/strong&gt; package on your webserver machine.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Account Email&lt;/strong&gt;: This is the email to which all emails related to Lets Encrypt will be sent.&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;&lt;u&gt;Installing SSL using Lets Encrypt&lt;/u&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;Now &lt;strong&gt;Install Automated SSL&lt;/strong&gt; option will appear on the Dashboard of Linux websites in HC10 panel at : &lt;strong&gt;Provisioning &amp;gt;&amp;gt;&amp;nbsp; Websites &amp;gt;&amp;gt;&amp;nbsp; Dashboard&lt;/strong&gt;. Please see below screenshot for clarity:&lt;/div&gt;&lt;div&gt;&lt;img alt="" height="294" src="/AvatarHandler.ashx?fid=747929&amp;amp;key=2092155735" width="1082"&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;*** If you want to manually renew all domains for another 90 days then execute below command&lt;span style="font-size: 14px;"&gt;.&lt;/span&gt;&lt;span style="color: rgb(34, 34, 34); font-family: Verdana, Geneva, sans-serif; font-size: 14px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color:#0000CD;"&gt;certbot renew --non-interactive --debug&lt;/span&gt;&lt;br style="color: rgb(34, 34, 34); font-family: Verdana, Geneva, sans-serif; font-size: 14px;"&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;</description>
    </item>
    <item>
      <title>How to install SSL Certificate using Name Based SSL (SNI) through HC10?</title>
      <link>http://portal.hostingcontroller.com/kb/a1306/how-to-install-ssl-certificate-using-name-based-ssl-sni-through-hc10.aspx</link>
      <pubDate>Wed, 07 Mar 2018 12:33:21 GMT</pubDate>
      <guid isPermaLink="false">kbarticle1306</guid>
      <description>&lt;div&gt;&lt;strong&gt;How to install SSL Certificate using Name Based SSL (SNI) through Hosting Controller 10?&lt;br /&gt;
&lt;br /&gt;
Server Name Indication (SNI) &lt;/strong&gt;allows multiple SSL certificates to run on the same IP address. Multiple websites can exist on the same IP address. These are known as name&amp;nbsp;based sites. Without SNI all these name based sites would be required to use the same certificate. SNI enables them to utilize multiple certificates. Hosting Controller facilitates this&amp;nbsp;SNI enabled CSR&amp;nbsp;generation process.&lt;br /&gt;
&lt;br /&gt;
To install SSL certificate through Hosting Controller utilizing SNI follow the below steps:&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Caution:&lt;/strong&gt; Make sure your Apache web server supports SNI extension and your web browser also supports SNI. Amost all new Linux Operating Systems support it.&amp;nbsp;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;ol&gt;
	&lt;li&gt;Login to HC panel and go to&amp;nbsp;&lt;strong&gt;&lt;em&gt;Server Manager ::&lt;/em&gt;&lt;/strong&gt; &lt;strong&gt;&lt;em&gt;Cluster Settings :: Manage Cluster Settings &lt;/em&gt;&lt;/strong&gt;and enable &amp;quot;&lt;strong&gt;&lt;em&gt;Name Based SSL (SNI)&lt;/em&gt;&lt;/strong&gt; &amp;nbsp;under Linux&amp;nbsp;Web Server Role.&lt;br /&gt;
	&lt;br /&gt;
	&lt;img alt="" src="/AvatarHandler.ashx?radfile=%5cCommon%5cEnable%20SNI%2epng" style="width: 574px; height: 657px;" /&gt;&lt;br /&gt;
	&amp;nbsp;&lt;/li&gt;
	&lt;li&gt;Enable Name Based SSL (SNI) by editing the Web Server Role at this path &lt;strong&gt;&lt;em&gt;Manage Servers :: Servers :: Edit :: Save &amp;amp; Edit Roles&lt;/em&gt;&lt;/strong&gt;.&lt;br /&gt;
	&lt;br /&gt;
	&lt;img alt="" src="/AvatarHandler.ashx?radfile=%5cCommon%5cSNI%20General%20Settings%2epng" style="width: 612px; height: 639px;" /&gt;&lt;br /&gt;
	&amp;nbsp;&lt;/li&gt;
	&lt;li&gt;To generate the CSR file for the domain follow this path&amp;nbsp;&lt;strong&gt;&lt;em&gt;Provisioning :: Websites :: Dashboard :: Website Details :: Dedicated SSL :: Generate CSR&lt;/em&gt;&lt;/strong&gt;&amp;nbsp;and once it is generated successfully then acquire a&amp;nbsp;certificate from a CA (Certificate Authority) against the&amp;nbsp;generated CSR.&lt;br /&gt;
	&lt;br /&gt;
	&lt;img alt="" src="/AvatarHandler.ashx?radfile=%5cCommon%5cCSR%20Generation%2epng" style="width: 1060px; height: 651px;" /&gt;&lt;br /&gt;
	&amp;nbsp;&lt;/li&gt;
	&lt;li&gt;Place the certificate file at web root path of the website and then Install that SSL Certificate on the domain by following this path&amp;nbsp;&lt;strong&gt;&lt;em&gt;Provisioning :: Websites :: Dashboard :: Website Details :: Dedicated SSL :: Select Certificate File :: Save&lt;/em&gt;&lt;/strong&gt;&lt;em&gt;.&lt;/em&gt;&lt;br /&gt;
	&lt;br /&gt;
	&lt;img alt="" src="/AvatarHandler.ashx?radfile=%5cCommon%5cCert%20File%20Selection%2epng" style="width: 1064px; height: 540px;" /&gt;&lt;/li&gt;
&lt;/ol&gt;</description>
    </item>
    <item>
      <title>How to enable and install Name Based SSL Using SNI through HC9 Linux</title>
      <link>http://portal.hostingcontroller.com/kb/a276/how-to-enable-and-install-name-based-ssl-using-sni-through-hc9-linux.aspx</link>
      <pubDate>Tue, 20 Dec 2016 10:23:37 GMT</pubDate>
      <guid isPermaLink="false">kbarticle276</guid>
      <description>&lt;div&gt;&lt;span style="font-family:arial,helvetica,sans-serif;"&gt;&lt;span style="font-size:14px;"&gt;&lt;b&gt;&lt;span style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;"&gt;Question:&amp;nbsp;How to enable and install Name Based SSL Using SNI through HC9 Linux ?&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;span style="font-family:arial,helvetica,sans-serif;"&gt;&lt;span style="font-size:14px;"&gt;&lt;b&gt;&lt;span style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;"&gt;Answer: &lt;/span&gt;&lt;/b&gt;Make sure that your Apache Web Server supports SNI extension and your web browser also supports SNI. Almost all new Linux Operating Systems support it.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;
&lt;ol&gt;
	&lt;li&gt;&lt;span style="font-family:arial,helvetica,sans-serif;"&gt;&lt;span style="font-size:14px;"&gt;Login to HC panel and go to&amp;nbsp;&lt;strong&gt;&lt;em&gt;Cluster Configuration ::&amp;nbsp;Manage Servers :: Cluster Settings&lt;/em&gt;&lt;/strong&gt;&amp;nbsp; and enable &amp;quot;&lt;em&gt;Name Based SSL Using SNI&lt;/em&gt;&amp;quot; &amp;amp; &amp;ldquo;&lt;em&gt;Dedicated SSL&lt;/em&gt;&amp;rdquo; under Linux&amp;nbsp;Web Server Role.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
	&amp;nbsp;&lt;/li&gt;
	&lt;li&gt;&lt;span style="font-family:arial,helvetica,sans-serif;"&gt;&lt;span style="font-size:14px;"&gt;Both &amp;ldquo;Named Based SSL Using SNI&amp;rdquo; and &amp;ldquo;Dedicated SSL&amp;rdquo; can be installed by navigating to the same path i.e.&amp;nbsp;&lt;strong&gt;&lt;em&gt;Website Services :: Manage SSL :: Install SSL Certificate.&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
	&amp;nbsp;&lt;/li&gt;
	&lt;li&gt;&lt;span style="font-family:arial,helvetica,sans-serif;"&gt;&lt;span style="font-size:14px;"&gt;To generate the CSR file for the domain follow this path&amp;nbsp;&lt;strong&gt;&lt;em&gt;Website Services :: Manage SSL :: Generate CSR&lt;/em&gt;&lt;/strong&gt;&amp;nbsp;and once it is generated successfully then acquire a&amp;nbsp;certificate from a CA (Certificate Authority) against the&amp;nbsp;generated CSR.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
	&amp;nbsp;&lt;/li&gt;
	&lt;li&gt;&lt;span style="font-family:arial,helvetica,sans-serif;"&gt;&lt;span style="font-size:14px;"&gt;Place the certificate file at web root path and then Install that SSL Certificate on your desired domain by going to this path&amp;nbsp;&lt;strong&gt;&lt;em&gt;Website Services :: Manage SSL :: Install SSL Certificate&lt;/em&gt;&lt;/strong&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description>
    </item>
    <item>
      <title>How to install and make a KVM work with HCnix?</title>
      <link>http://portal.hostingcontroller.com/kb/a258/how-to-install-and-make-a-kvm-work-with-hcnix.aspx</link>
      <pubDate>Fri, 28 Nov 2014 13:40:43 GMT</pubDate>
      <guid isPermaLink="false">kbarticle258</guid>
      <description>&lt;p&gt;&lt;strong&gt;&lt;span style="font-size: 10pt; line-height: 115%; font-family: tahoma, sans-serif;"&gt;Question:&amp;nbsp; How to install and make a KVM work with HCnix? &lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-size: 10pt; line-height: 115%; font-family: tahoma, sans-serif;"&gt;Introduction:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 115%; font-family: tahoma, sans-serif; background: white;"&gt;KVM (Kernel-based Virtual Machine) is a full virtualization solution for Linux&lt;/span&gt;. It acts as a hypervisor allowing the creation of both Windows and Linux Virtual Machines (V.M).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-size: 10pt; line-height: 115%; font-family: tahoma, sans-serif; background: white;"&gt;Recommended OS:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 115%; font-family: tahoma, sans-serif;"&gt;Debian 6.0.2 x64&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-size: 10pt; line-height: 115%; font-family: tahoma, sans-serif;"&gt;Installation:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 115%; font-family: tahoma, sans-serif;"&gt;Prior to installing, the entries in the attached file&lt;strong&gt; &lt;em&gt;&lt;a href="/AvatarHandler.ashx?radfile=%5cCommon%5csources%2etxt" target="_self"&gt;sources.txt&lt;/a&gt;&lt;/em&gt; &lt;/strong&gt;should be copied at &lt;strong&gt;&lt;em&gt;/etc/apt/sources.list&lt;/em&gt; &lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom: 12pt;"&gt;&lt;span style="font-size: 10pt; line-height: 115%; font-family: tahoma, sans-serif;"&gt;Once done the following commands should be executed:&lt;/span&gt;&lt;span style="font-size: 10pt; line-height: 115%; font-family: tahoma, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;apt-get update&lt;/li&gt;
    &lt;li&gt;apt-get install bridge-utils&lt;/li&gt;
    &lt;li&gt;apt-get install kvm&lt;/li&gt;
    &lt;li&gt;apt-get install libvirt-bin&lt;/li&gt;
    &lt;li&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;apt-get install kpartx&lt;/span&gt;&lt;/li&gt;
    &lt;li&gt;apt-get install virt-manager&lt;/li&gt;
&lt;/ul&gt;
Replace the following entries in vi /etc/network/&lt;strong&gt;interfaces&lt;br /&gt;
&lt;br /&gt;
&lt;/strong&gt;
&lt;p style="margin-left: 0.5in;"&gt;&lt;span style="color: windowtext;"&gt;auto lo br0&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-left: 0.5in;"&gt;&lt;span style="color: windowtext;"&gt;iface lo inet loopback&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-left: 0.5in;"&gt;&lt;span style="color: windowtext;"&gt;iface br0 inet static&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-left: 0.5in;"&gt;&lt;span style="color: windowtext;"&gt;bridge_ports eth0&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-left: 0.5in;"&gt;&lt;span style="color: windowtext;"&gt;address 192.168.0.245&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-left: 0.5in;"&gt;&lt;span style="color: windowtext;"&gt;broadcast 192.168.0.255&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-left: 0.5in;"&gt;&lt;span style="color: windowtext;"&gt;netmask 255.255.255.0&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom: 12pt;"&gt;&lt;span style="font-size: 10pt; font-family: tahoma, sans-serif;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;gateway 192.168.0.1&lt;br /&gt;
&lt;strong&gt; &lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 12pt;"&gt;&lt;strong&gt;&lt;span style="font-size: 10pt; font-family: tahoma, sans-serif;"&gt;Note: &amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size: 10pt; font-family: tahoma, sans-serif;"&gt;Sample&lt;strong&gt; &lt;/strong&gt;IP addresses given above should be replaced with actual IPs of your network and &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: tahoma, sans-serif;"&gt;eth0&lt;strong&gt; &lt;/strong&gt;with the&lt;strong&gt; &lt;/strong&gt;machine network card name&lt;strong&gt; &lt;/strong&gt;holding those IPs.&lt;strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/strong&gt;Then reboot the machine. &lt;br /&gt;
&lt;br /&gt;
The command to check the Virtual Machine in KVM is &lt;em style="font-weight: bold;"&gt;virsh list, &lt;/em&gt;and if you are using Linux Desktop GUI then you can see virtual machine management interface using command &lt;strong&gt;virt-manager&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 12pt;"&gt;&lt;span style="font-size: 10pt; font-family: tahoma, sans-serif;"&gt;That&amp;rsquo;s it. KVM is now ready to provision Virtual Machines via HC.&lt;/span&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to run a Linux website with both http and https protocol</title>
      <link>http://portal.hostingcontroller.com/kb/a250/how-to-run-a-linux-website-with-both-http-and-https-protocol.aspx</link>
      <pubDate>Fri, 04 Apr 2014 14:42:56 GMT</pubDate>
      <guid isPermaLink="false">kbarticle250</guid>
      <description>&lt;strong&gt;Question:&amp;nbsp;How to run a Linux website with both http and https protocol ?&lt;br /&gt;
Answer:&lt;/strong&gt;&lt;br /&gt;
&lt;p&gt;It is not possible to create the Linux website with both http and https protocol through HC panel. You have to perform some manual steps to run the Linux website with both &amp;lsquo;&lt;strong&gt;http&lt;/strong&gt;&amp;rsquo; and &amp;lsquo;&lt;strong&gt;https&lt;/strong&gt;&amp;rsquo; protocol:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Run the following command to check ServerRoot path&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin-left: 0.25in; text-indent: 0.5in;"&gt;$ apachectl &amp;ndash;V&amp;nbsp; &lt;/p&gt;
&lt;p style="margin-left: 0.25in; text-indent: 0.5in;"&gt;and then check the output for "-D HTTPD_ROOT" directive. e.g &lt;/p&gt;
&lt;p style="margin-left: 1.25in;"&gt;-D HTTPD_ROOT="/etc/apache2" &lt;strong&gt;(for Debian/Ubuntu)&lt;/strong&gt; &lt;/p&gt;
&lt;p style="margin-left: 1.25in;"&gt;-D HTTPD_ROOT="/etc/httpd" &lt;strong&gt;(for CentOS, Fedora,RHE)&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Create a file e.g domain-name.conf in the same ServerRoot directory (/etc/apache2 Or /etc/httpd)&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
    &lt;li&gt;&amp;nbsp;Copy &amp;lt;VirtualHost&amp;gt; tag of the desired website from apache configuration file and paste it in domain-name.conf &amp;nbsp;file, change the port for that website from :443 to :80 in Virtualhost tag and also delete the lines containing the following directives:&lt;br /&gt;
    &lt;span style="font-size: 10pt;"&gt;&lt;br /&gt;
    SSLEngine on&lt;br /&gt;
    &lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;SSLCertificateFile/etc/ssl/hc/yourdomain.com/yourdomain.com.crt&lt;br /&gt;
    &lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;SSLCertificateKeyFile /etc/ssl/hc/yourdomain.com/yourdomain.com.key&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;span style="font-size: 10pt;"&gt;Add following line in apache configuration file&lt;br /&gt;
    &lt;em&gt;include domain-name.conf&amp;nbsp;&lt;/em&gt;&lt;br /&gt;
    &lt;strong&gt;
    Restart apache&lt;/strong&gt; service and now site will run with both http and https protocol&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
    </item>
    <item>
      <title>How to backup HCnix Hosting data using RBX</title>
      <link>http://portal.hostingcontroller.com/kb/a244/how-to-backup-hcnix-hosting-data-using-rbx.aspx</link>
      <pubDate>Tue, 19 Nov 2013 12:27:48 GMT</pubDate>
      <guid isPermaLink="false">kbarticle244</guid>
      <description>&lt;br /&gt;
&lt;p style="text-align: justify;"&gt;&lt;strong&gt;Question: How to backup HCnix Hosting data using RBX?&lt;/strong&gt;&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;&lt;strong&gt;Answer:&lt;/strong&gt; &lt;br /&gt;
RBX has been provided as a built-in module for HCnix panel. You can follow the given steps to configure it inside the panel and take backup:&lt;/p&gt;
&lt;ol&gt;
    &lt;li&gt;Login to the host-admin level in HCnix and navigate to the path &lt;strong&gt;Backup Services :: Backup Services :: Configure Server Backup&lt;/strong&gt;.&lt;br /&gt;
    &lt;br /&gt;
    &lt;/li&gt;
    &lt;li&gt;On configuration page, provide the required details in the fields under the following sections:
    &lt;ul&gt;
        &lt;li&gt;&lt;span style="font-size: 10pt;"&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;Configured Server Roles&lt;/span&gt;&lt;/strong&gt;: Select the server that you want to backup through HCnix here. Moreover, also define the specific roles (Web, DB, DNS, and Mail) that should be backed-up. If you want to backup the webspace then also check mark the respective option &amp;ldquo;&lt;strong&gt;Backup Webspace&lt;/strong&gt;&amp;rdquo;.&lt;/span&gt;&lt;/li&gt;
        &lt;li&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style="text-decoration: underline;"&gt;&lt;strong&gt;HCnix Database Login Information&lt;/strong&gt;&lt;/span&gt;: Provide MySQL root user credentials here if you want to backup HCnix database as well.&lt;/span&gt;&lt;/li&gt;
        &lt;li&gt;&lt;span style="font-size: 10pt;"&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;Backup Location&lt;/span&gt;&lt;/strong&gt;: Define backup location. RBX can be set to backup and place the data on the local machine, or remote server. In case of remote server, provide the FTP details of the remote machine for connection purpose.&lt;/span&gt;&lt;/li&gt;
        &lt;li&gt;&lt;span style="font-size: 10pt;"&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;Backup Schedule&lt;/span&gt;&lt;/strong&gt;: Schedule the backup operation here. You can set the scheduler to backup the data on daily, weekly or monthly basis.&lt;/span&gt;&lt;/li&gt;
        &lt;li&gt;&lt;span style="font-size: 10pt;"&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;Purge Previous Backups&lt;/span&gt;&lt;/strong&gt;: Enable this option if you want to purge the previous backups to optimize the disk usage.&lt;br /&gt;
        &lt;br /&gt;
        &lt;/span&gt;&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;Once the configuration has been completed, click on &amp;ldquo;&lt;strong&gt;Configure Backup&lt;/strong&gt;&amp;rdquo; button. It will initiate the scheduler for backup operation. The backup will be taken on the time interval that has been defined in the backup scheduler settings.&lt;br /&gt;
    &lt;br /&gt;
    &lt;/li&gt;
    &lt;li&gt;If you want to stop the backup scheduler, navigate to the same path &lt;strong&gt;Backup Services :: Backup Services :: Configure Server Backup&lt;/strong&gt; at the host-admin level and click on &amp;ldquo;&lt;strong&gt;Unconfigure Backup&lt;/strong&gt;&amp;rdquo; button at the right bottom of the page.&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="text-align: justify;"&gt;You can also sell backup resources to the webadmin in the hosting-plans for giving them the option to backup their individual resources (Web, DB, DNS and Mail).&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Note:&lt;/strong&gt; When running RBX in non-license mode it will backup limited number of data, in order to avail complete backup/restore functionality you should buy RBX add-on against your HCnix key.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>