This tutorial covers a fully functional web server and what which tools you require for this purpose are as follows:
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.
To complete this tutorial you will need:
First you need to login to your VPS server by SSH, in this tutorial we will be using PuTTY & run this command:
Then upgrade necessary packages by running:
Once upgrade is completed, Write this command to check the current server hostname:
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.
Delete the current hostname and replace it with your choice of hostname: your_hostname