DirectAdmin automatic updates

After a somewhat nice series on DirectAdmin earlier, i wanted to make a small addition to it: automatic updates. It’s a bit of a no-brainer to say that you should keep your system up-to-date. The only real debate here is: should you perform these  automatically of just check every week and perform them manually. I’ve…

Continue Reading

SMTP – DKIM DirectAdmin with Exim 4

So we had these awesome DirectAdmin posts, although I do not like DirectAdmin one little bit, which got me started with the SMTP posts, this being the last one about DKIM. After getting this cool mechanism configured on Postfix with and without Rspamd, this time we’ll be configuring it on a DirectAdmin enabled server with…

Continue Reading

Debian DirectAdmin installation – Custom httpd code II

This is awesome. With part two of the DirectAdmin custom httpd code, we’ve reached the end of the DirectAdmin series. When you’ve followed it, I’m pretty confident you have a solid DA configuration. To conclude, we’ve covered the intro, quotas, software installation, firewall, AppArmor, firewall followup, SSL, SSL for WebApps, the control panel, Exim, SpamAssassin…

Continue Reading

Debian DirectAdmin installation – SpamAssassin

Almost there, getting a fully functional and secure (as secure as it can be…) DirectAdmin server up and running! But you’ll discover that SpamAssassin (SA) isn’t installed by default. When you’re dealing with domains that have a lot of email traffic, especially domains and email addresses that are pretty old, your DA server will be…

Continue Reading

Debian DirectAdmin installation – Exim

The Exim configuration is pretty decent right out of the DirectAdmin box. Don’t forget to configure SSL though, as described here. By default, you need one more edit in the config file and you’re done. This is necessary to be able to be alerted from your DA server. On one of my DA boxes, I…

Continue Reading

Debian DirectAdmin installation – Control Panel

We’re getting a pretty decent grasp on our DirectAdmin configuration, with SSL on the control panel and the webapps, firewall, AppArmor, etc. You would almost forget that DirectAdmin IS a control panel that should make life easier (but doesn’t in my humble opinion, but that’s another discussion). So here a couple of essential edits from…

Continue Reading

Debian DirectAdmin installation – SSL for WebApps

Awesome, we’ve got our SSL going. Now we’re good to go right? Wrong. We’ve only secured the DirectAdmin interface itself, not the WebApps like Roundcube, or Exim for that matter. Securing these is just as important as the DA interface itself. So follow the next steps to secure Nginx, Roundcube, Exim and others.

Continue Reading

Debian DirectAdmin installation – SSL

A bit more on security. I don’t know if it’s normal but getting SSL going was a bit more complicated as one would have expected, but certainly doable from the CLI. What I’m also explaining below, is how to prevent (new) users from logging in via SSH on your DirectAdmin server. This is somewhat default…

Continue Reading

Debian DirectAdmin installation – Firewall followup

Our basis for DirectAdmin is pretty secure now after installing the firewall and AppArmor. Check out this followup though. After the CSF/LFD firewall installation on Debian, we also need to tweak some essential settings from the DirectAdmin console. It’s not too complicated, but nevertheless important. You can now login at https://yourserver.yourdomain.com:2222 with the credentials that…

Continue Reading

Debian DirectAdmin installation – AppArmor

This is a great followup on the previous firewall post: getting AppArmor to play nice with DirectAdmin and secure it some more. AppArmor has been subject of one or more posts before but since this some while ago, I’ll start with the basics how to set it up. It’s like SELinux, which I like a…

Continue Reading

Debian DirectAdmin installation – Firewall

After a couple of easy ones, now a bit more work. To secure our DirectAdmin enabled server, we’re installing the CSF/LFD Firewall by Configserver which has DirectAdmin special software. I must say, I’m using CSF/LFD now for a couple of months, and have a love / hate relationship with it. On the one hand it…

Continue Reading

Debian DirectAdmin installation – Software

After a short intro and getting the quotas ready, we can install the DirectAdmin software. Installing the DA software is also pretty straightforward. You need a lot of dependencies and a lot of time though, because installation, and every DA update, takes a long time in comparison with many other Linux software. DA needs a…

Continue Reading

Debian DirectAdmin installation – Quotas

Quotas are not enabled by default on Debian nor on DirectAdmin, but the latter needs it or else errors are flying all over the place. Fortunately it is not hard to setup. First we’ll take a closer look at your fstab file, I’ll do a quick rerun of an earlier post in this regards. Then…

Continue Reading

Debian DirectAdmin installation – Intro

Although a VPS or an AWS instance doesn’t cost shit nowadays, some people still want to share a webserver. In comes DirectAdmin and this intro. There are more alternatives to DirectAdmin (DA), like ISPManager and Virtualmin, but DA seems to be the most used piece of software and most widely accepted. I absolutely hate it,…

Continue Reading