<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sushma Gangolu on Medium]]></title>
        <description><![CDATA[Stories by Sushma Gangolu on Medium]]></description>
        <link>https://medium.com/@sushmagangolu?source=rss-239984fc0b19------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*zoQzZFAn25thC5aKgG7zjA.jpeg</url>
            <title>Stories by Sushma Gangolu on Medium</title>
            <link>https://medium.com/@sushmagangolu?source=rss-239984fc0b19------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 23:04:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sushmagangolu/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Installing SSL with Let’s encrypt on DigitalOcean — Ubuntu 16.04]]></title>
            <link>https://medium.com/@sushmagangolu/installing-ssl-with-lets-encrypt-on-digitalocean-ubuntu-16-04-ae9bca0eb2ee?source=rss-239984fc0b19------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae9bca0eb2ee</guid>
            <category><![CDATA[dns]]></category>
            <category><![CDATA[digital-oc]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[free-ssl-certificate]]></category>
            <category><![CDATA[lets-encrypt]]></category>
            <dc:creator><![CDATA[Sushma Gangolu]]></dc:creator>
            <pubDate>Tue, 02 Oct 2018 14:18:36 GMT</pubDate>
            <atom:updated>2018-10-03T05:31:42.999Z</atom:updated>
            <content:encoded><![CDATA[<p>In this, we are going to install SSL for our domain with Let’s encrypt on an Ubuntu 16.04 running on Apache web server.</p><p><strong>STEP 1. Connect your domain to your droplet.</strong></p><p>You can skip this step if you already connected your domain to the website. Else, go to your DigitalOcean dashboard and select Networking. Now add your domain and connect it to your droplet.</p><p><strong>STEP 2. Set the ServerName in your host.</strong></p><p>A. For single host:</p><p>sudo nano /etc/apache2/sites-available/000-default.conf</p><p>B. For Virtual host:</p><p>sudo nano /etc/apache2/sites-available/example.com.conf</p><p>(Change example.com.conf with your virtual host file name. You can find the list of hosts in /etc/apache2/sites-available/ )</p><p>Now open the file and find <strong>ServerName </strong>remove the ‘#’ before that and change the domain name to your actual domain name.</p><p><strong>Install SSL with www:</strong></p><p>Change the code to as below.</p><p>ServerName <a href="http://www.example.com/">www.example.com</a></p><p>Now save the file and exit.</p><p>We will also need to add two A records with hostname @ and www pointing to our droplet in DNS.</p><p><strong>Install SSL without www:</strong></p><p>Change the code as below.</p><p>ServerName example.com</p><p>ServerAlias <a href="http://www.example.com/">www.example.com</a></p><p>Now save the file and exit.</p><p>Now create an A record with hostname @ pointing to the droplet and create a CNAME with a hostname www which will also point to the droplet.</p><p><strong>STEP 3. Install the Let’s Encrypt Client:</strong></p><p>A. To add the repository,</p><p>sudo add-apt-repository ppa:certbot/certbot</p><p>You’ll need to press ENTER to accept.</p><p>B. Install Certbot</p><p>sudo apt-get install python-certbot-apache</p><p><strong>STEP 4. Set Up the SSL Certificate:</strong></p><p>To install SSL with www:</p><p>sudo certbot — apache -d <a href="http://www.example.com/">www.example.com</a></p><p>To install SSL without www:</p><p>sudo certbot — apache -d <a href="http://www.example.com/">example.com</a></p><p>Give your email for SSL updates and choose 2 for redirecting all URLs to https.</p><p><strong>STEP 5. Certbot Auto-Renewal:</strong></p><p>The lifetime of Let’s encrypt certificate is only 90 days. We will need to renew it after every 90days period.</p><p>To auto-renew,</p><p>sudo certbot renew — dry-run</p><p>You Check your SSL installation:</p><p>Go to the below URL and submit your hostname.</p><p><a href="https://www.ssllabs.com/ssltest/analyze.html">SSL Server Test</a></p><p>That’s it. We are done with SSL integration to our domain.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae9bca0eb2ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Set up your WordPress website in DigitalOcean in 4 simple steps.]]></title>
            <link>https://medium.com/@sushmagangolu/set-up-your-wordpress-website-in-digitalocean-account-in-4-simple-steps-6e46be80a90e?source=rss-239984fc0b19------2</link>
            <guid isPermaLink="false">https://medium.com/p/6e46be80a90e</guid>
            <category><![CDATA[digitalocean]]></category>
            <category><![CDATA[mysql]]></category>
            <category><![CDATA[php]]></category>
            <category><![CDATA[wordpress]]></category>
            <category><![CDATA[apache]]></category>
            <dc:creator><![CDATA[Sushma Gangolu]]></dc:creator>
            <pubDate>Mon, 01 Oct 2018 11:04:27 GMT</pubDate>
            <atom:updated>2018-10-02T13:15:04.868Z</atom:updated>
            <content:encoded><![CDATA[<p>In this example, we are going to install a new WordPress in DigitalOcean account.</p><p><strong>Prerequisites</strong>:</p><p>A droplet with an SSH connection.</p><p>First, we need to install all the prerequisites such as Apache(operating system), MySql, PHP(Latest version), Phpmyadmin.</p><p>Let&#39;s get started.</p><p><strong>STEP 1: Apache2</strong></p><p>A. Get the latest updates.</p><p>sudo apt-get update<br>sudo apt-get install apache2</p><p>B. Set global server name to suppress syntax warnings<br>sudo apache2ctl configtest<br>You should see Syntax Ok.</p><p>C. Check for syntax errors. <br>sudo apache2ctl configtest<br>You should see a output as Syntax Ok.</p><p>Now restart your server.<br>sudo systemctl restart apache2</p><p>D. Adjust the Firewall to allow web traffic</p><p>sudo ufw app list</p><p>sudo ufw app info “Apache Full”</p><p>sudo ufw allow in “Apache Full”</p><p>Now run your server IP address on the browser.</p><p><a href="http://server_ip_address/">http://server_IP_address</a></p><p>You should be able to the apache2 information on the homepage like below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/1*KkAaJMBfN9yJb6u17A_FOg.png" /></figure><p><strong>STEP 2: Install MySQL</strong></p><p>sudo apt-get install mysql-server</p><p>Now set the password for MySql.</p><p>mysql_secure_installation</p><p>It will ask you to install validate the password plugin. Choose Y. Now select the password strength as 2. And choose No for changing the existing MySql root password. Choose Y for the rest of the questions as well.</p><p><strong>STEP 3: Install PHP</strong></p><p>sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql</p><p>It will install PHP along with few other depency modules.</p><p>Since we are going to install WordPress, we need to set the priority to index.php.</p><p>sudo nano /etc/apache2/mods-enabled/dir.conf</p><p>Now move index.php to the first and index.html to the next.</p><p>Now restart your server.</p><p>sudo systemctl restart apache2</p><p><strong>STEP 4: Install PHPMyAdmin</strong></p><p>sudo apt-get install PHPMyAdmin php-mbstring php-gettext</p><p>Now enable the PHP mcrypt and mbstring extensions.</p><p>sudo phpenmod mcrypt<br>sudo phpenmod mbstring</p><p>Now restart your server.</p><p>sudo systemctl restart apache2</p><p>You can access your PHPMyAdmin in the like below.</p><p><a href="http://your_ip/phpmyadmin">http://your_IP/phpmyadmin</a></p><p>Now, you can upload the WordPress files to server.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e46be80a90e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>