VestaCP Nginx Template

I like VestaCP and I host most of my sites using it on my servers. Recently I started writing more NodeJs applications and found it not trivial to get NodeJS traffic routed via VestaCP Nginx/Apache configs.

I usually make manual changes to the config file for that domain that is running the NodeJs app (which not a good way, since these configs get overwritten if you change the proxy template in the control panel)

Continue reading VestaCP Nginx Template

Set up VPN Server on Raspberry Pi

VPN servers are a great way to make sure your connection is secure and safe specially when you are connected to open or shared Wifi network. This tutorial will show you how you can set up your own VPN server at you home on Raspberry Pi, so all your connections on remote devices go through this server as if you were connected to your home Wifi.

The software that I am using – Softether – is a free and open source server that allows you to set up multiple VPN protocols. We will only be setting IPSec protocol that uses secure and encrypted connections for your VPN. Continue reading Set up VPN Server on Raspberry Pi

How to configure a mail server

This tutorial will give you instructions about how you can configure a mail server on Linux (same works for other platforms) that will not be treated as a spam by major email providers.

This will not show you how to install the mail server and assumes that you have one already installed. For some tutorial on how to install a mail server check out these resources: Continue reading How to configure a mail server

VerifyEmail – PHP class to validate email address

Email address is an essential part of any web from. We are almost always required to enter an email address for anything that we sign up for; contact form, account creation form, subscription form, etc. In a lot of cases it does make sense to require a valid email address. It is often required for communication and for security purpose, other times it is sole purpose is to market a certain product(s) (what you can call spam).

For this reason, a lot of users instinctually enter a bogus email address just to finish the process. While I don’t blame users for doing so, I also provide this class that allows developers to validate an email address and make sure it actually can receive emails. Continue reading VerifyEmail – PHP class to validate email address

VPSDime (free) Offloaded MySQL – Whats the catch?!

VPSDime is a great affordable VPS solution for many users. They offer servers starting at $7.99/month with 6GB of RAM. This is the lowest price out there.

On the top of that they offer (free) offloaded MySQL with initial setup fees of $1. This service gives you up to 20GB of MySQL storage to use for databases hosted on their giant MySQL (actually MariaDB) server. Continue reading VPSDime (free) Offloaded MySQL – Whats the catch?!