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

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