tutorials questions & answers
by

Create your very own Web Server with Virtualmin/Webmin, MySQL, Apache

TAGS:
  • Virtualmin
  • Webmin
  • mysql
  • apache

This tutorial covers a fully functional web server and what which tools you require for this purpose are as follows:

  1. Virtualmin
  2. A LAMP stack (Apache, PHP and MySQL) to serve websites and web applications.
  3. BIND (DNS Server).
  4. PostFix (Mail Server).
  5. Configuration of SPF and Dkim (to avoid mail delivery in spam/junk folders)

Please Note: Do Not follow this tutorial on a live production pre-configured Apache, MySql and PHP server as this may cause loss, Use a Newly Created VPS server and transfer your data once you have followed all the configuration steps.

Prerequisites

To complete this tutorial you will need:

  • A VPS Server with Newly installed Debian 9 on it.
  • A Fully Qualified Domain Name configured to point your server.
  • Two registered custom nameservers for use with Virtualmin to setup.

Step 1 - Setting the Hostname and FQDN for your VPS Server

First you need to login to your VPS server by SSH, in this tutorial we will be using PuTTY & run this command:

apt-get update

Then upgrade necessary packages by running:

apt-get upgrade

Once upgrade is completed, Write this command to check the current server hostname:

hostname-f

In order to change your current hostname you will need to edit /etc/hostname file to your choice of text editor, here we are using nano.

nano /etc/hostname

Delete the current hostname and replace it with your choice of hostname: your_hostname

comments (8)

  • حيدر

    reply 0 1 month ago

    شكرا لكم

  • phu

    reply 0 1 month ago

    app game

  • Banshi

    reply 0 3 weeks ago

    I decided to buy VPS from your company, but want to test it first. Since I'm new to it, I use this tutorial to setup a server. But why here is the Step 1 only?? Where are the other steps? How do I setup the server? Well...I think I'll choose more user-friendly company

  • Juken

    reply 0 2 weeks ago

    Great tutorial

  • nnn

    reply 0 1 week ago

    good

  • KAKATO

    reply 0 5 days ago

    HOW I CAN ADD CPANLE ON Ubuntu

  • KAKATO

    reply 0 5 days ago

    HOW I CAN ADD CPANLE ON Ubuntu

  • hassan

    reply 0 2 days ago

    thank you very much

leave comment

Please choose login or register to comment in this thread.

Start now for as low as $4,99 a month!

  • 8 Characters2
  • 1 Uppercase Atleast
  • 1 Number Atleast