Knowledge.ToString()

Month: March 2020

  • Bootstrap 4.4 Responsive Mega Menu Example

    Bootstrap 4 does not have any example of mega menu. Documentation or other websites did not provide any example of mega menu with bootstrap. So after hours of trial and error, I came up with this solution. Extra CSS classes needed (Optional) Following class is not available in Bootstrap 4 and hence for pixel perfection…

    |

  • Host ASP.NET Core 3 with Apache Using Webmin

    If you are using Webmin to administer your Linux box, here are the steps to run ASP.NET Core application with Apache. Prerequisites Ubuntu 18.04 / 20.04 Webmin I assume that you have setup your server, Webmin and everything is up and running. Install .Net Core Here is a compilation of commands to install the .Net…

    |

  • How to Install Webmin to Host Multiple Websites

    I have multiple Websites and recently started using Digital Ocean to host multiple Websites. I have created Ubuntu 18.04 / 20.04 64 bit droplet to use following software. Update on 5 Feb, 2021: This tutorial works for Ubuntu 18.04 and Ubuntu 20.04. Web Server (Apache or Nginx) Database Server (MySQL) Email (Dovecot, Postfix) Webmail Client…

    |

  • Webmin Installation Best Practice for Hosting Multiple Websites on Digital Ocean

    Webmin best practice for hosting on Digital Ocean droplet

    I have multiple Websites that I was running on shared Windows Web hosting. Due to various reasons, I migrated from DNN to WordPress. Instead of choosing shared Web hosting, I chose Digital Ocean for hosting multiple Websites on WordPress. I had little experience with Linux and due to time constraint, I do not want to…

    |

  • Reasons I Migrated From DNN Software to WordPress?

    I was a DNN Software (formerly DotNetNuke) fan from past 15 years. When I created my personal Website in 2005, I used DNN Software. We could host multiple Websites on a single DNN instance was a really great idea. For hosting multiple Websites, I created domain alias which resulted in cheap hosting for couple of…

    |

  • Recommended Droplet Size For Hosting Multiple Websites

    Recently I migrated my 4 Websites from shared hosting to Digital Ocean droplet. From past couple of months, I have been running 4 WordPress Websites (individual instances) and 1 .Net Core 3.0 instance along with email service on this droplet and it is working out fine. Website Usage Here is a list of need for…

    |

  • .Net 3.5 System.Web.UI.DataVisualization namespace does not exists

    I was trying to compile an inherited VB .Net code that uses .Net 3.5 framework. When I compiled, it gave the following error The type or namespace name ‘DataVisualization’ does not exist in the namespace ‘System.Web.UI’ (are you missing an assembly reference?) Whatever answers I tried to find online could not give me details for…

    |

  • Webmin Postfix: How to solve “Host or domain name not found”

    Error Host or domain name not found. Name service error for name=”XYZ” type=AAAA: Host not found Host or domain name not found. Name service error for name=”XYZ” type=A: Host not found Here XYZ is the host name of the droplet and NOT the domain name. For example if my server’s Fully Qualified Domain Name (FQDN)…

    |

  • Webmin Let’s Encrypt: XYZ is not a valid e-mail address

    Error acme.messages.Error: urn:ietf:params:acme:error:invalidEmail :: The provided email for a registration was invalid :: Error creating new account :: “XYZ” is not a valid e-mail address Root Cause In my case, I created Virtual Server without the email feature enabled. Hence when Webmin tried to generate Let’s Encrypt SSL Certificate, it used the default email address.…

    |

  • Weird errors for VB .Net classes defined in App_Code folder

    Recently I was making a .Net 3.5 webforms application compile on my computer. The application was written in VB .Net. There were couple of classes which were causing weird issues. Visual Studio compiler generated “variable not declared”, “Exception not declared”, “End Sub does not have matching sub”, “line continuation character does not work in VB…

    |