Hey all, I have a VPS with Hostinger that serves a few websites, very basic stuff, simple blogs or static pages, very low traffic.

At the moment I have ‘custom domain’ emails set up with Protonmail and also Tutanota. They are mainly for client communication one-to-one, I very rarely if ever do mass mail-outs.

I’m looking into the possibility of setting up a mail server instead, but it seems it’s generally not a good idea to run mail server and web server on the same VPS. [– if anybody thinks there may be exceptions to this, do let me know, because I would still be interested if it’s not an entirely bad idea?]

So I’m wondering about a dedicated VPS to run my mail server, but really don’t want to pay much.

In order for it to be cost effective (as opposed to just paying for a mail service with multiple custom domains), i’d want a VPS with 3GB ram and 20-30GB storage that doesn’t block port 25, for less than $6 per month.

Is this likely? Anyone know of any contenders?

  • AudioBabbleOPB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Well folks, it certainly seems like hosting both email and mail server on the same VPS is possible.

    The trouble I’m having is that, because I’m not terribly well clued in about mail server admin, I really need a step-by-step tutorial to make setting it up a realistic possibility, but… thusfar I’ve been unable to really find such a thing.

    What I have found are plenty of guides for setting up a standalone mailserver, and so I’m looking at the daunting task of modifying what they tell me to do, while still managing to serve my websites.

    At the moment, my biggest hurdle is I keep coming up against:

    sudo hostnamectl set-hostname mail.your-domain.com

    -- correct me if I’m wrong, but this is going to change my hostname so that I no longer have a hostname for web?

    Seems I need an FQDM for hosting a mail server, but at the same time I also need an FQDM for serving websites.

    How do I do both? I’m running Apache2 if that helps…