I have an existing hardware server with simple web and email. What is the easiest way to get started?

Posted November 2, 2019 932 views
CentOSApacheGetting StartedEmail

The current system hosts two domains, one that has web and email and the second is an information only website. The site uses CentOS ver 6.x with Apache. It runs majordomo for a list server. There is no other special software that I am aware of.

1 comment

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi @daBUZ,

From your explanation about the server you currently use, you’ll need mainly a LAMP stack server and an Email service - Postfix or Exim.

Web Server

Let’s start with the LAMP stack, this will include - Apache, MySQL, PHP. I can see you’ve marked CentOS as an OS so I’ll recommend you to check this article how to configure LAMP on a DigitalOcean droplet using CentOS 7 - HERE


I’ll recommend using Postfix for your setup, it’s pretty straight forward to configure and to use.

Good thing is that there is a good article in the DigitalOcean knowledge base again - HERE

The above two should be enough for you to get started and move your websites over.

As for the actual migration of the websites, I’ll recommend you to first configure your Web Server and Email service and then perform the migration.


by Etel Sverdlov
This tutorial explains how to install postfix and cyrus with yum, how to configure postfix, how to configure cyrus, how to install mailx, and how to send a test email. Postfix is free open source Mail Transfer Agent which works to route and deliver email.This tutorial should help you set up a mail server on a centos droplet.
  • Thanks. A good start. It also helps with some of the nomenclature that I have not been using on my original system. Postfix is the email system that I have been using.

    My plan is to spend November and December learning and configuring, and then do the migration between Christmas and New Years.

    • That’s a nice plan, I see you’ve given yourself quite the big window for testing purposes and as such I can suggest you try some other stuff as well.

      You can try using Nginx instead of Apache, it might give you better performance of your website. Again this is up to personal choice but it’s always good to check your options.

      There is an article written by DigitalOcean on Nginx configuration as well - HERE


      by Mitchell Anicas
      This articles covers how to install Nginx, a web server, on a CentOS 7 virtual server. This can be done with the CentOS package installer, yum.
      • Looks like lots of studying. Maybe I can get some advice first. The website I run has 3 domains, one that is essentially inactive right now (static with just a little information) one that has some web activity, (although most of the web area is private and only people with login credentials get to look at it) plus an email server with about 150 clients and a third that is essentially an archive for a majordomo newsletter. Am I better off to stick with Apache, which I have been working with for over 20 years, or is Nginx able to do the private stuff and is it worth the effort to learn?

        Thanks for your good advice so far. I have followed it and I am very happy with the results. I look forward to your suggestion.
        BUZ (aka daBUZ aka Howard R. Hamilton)

        • Hi @daBUZ,

          Thank you for coming back. Given the information you’ve provided and the services you need, I believe the effort you’ll need to put into troubleshooting and understanding Nginx, won’t be so beneficial and as such it’s better to stick with Apache at least for now.

          When you have the time, give Nginx a go but on a testing environment, just to see how it works and operates.