Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to make your own hosting server to set up a website on DigitalOcean

if you are one of them who is looking for How to make your own hosting server to set up a website on Digitalocean then you are in the right place.

When we talk about DigitalOcean then it’s important to know some basic details about digital ocean.

  • What is DigitalOcean
  • What is Droplet on DigitalOcean
  • How to install ubuntu on DigitalOcean

if we talk about DigitalOcean, In a simple word, it is a cloud storage platform where we can host our websites and apps without any problems. it’s very useful for developers since DigitalOcean provides a cheap and incredibly fast environment.

Droplets on the DigitalOcean are flexible Linux-based virtual machines that run on virtual hardware of the digital ocean. you can create as many as droplets required for your work according to space and prices.

Let’s Start to make your own hosting server to set up a website on DigitalOcean

First signup on DigitalOcean and Login to your account to create Ubuntu 18.0 Droplet.

Step 1: Initial Server Setup On DigitalOcean (Ubuntu 18.0 Droplet)

  • Login to your DigitalOcean account and click on Create -> Droplets in the top right corner of the screen.
  • In the “Distributions” tab select the version of your Ubuntu OS
  • Select the “Plan for Droplets” according to your needs based on space and price. if you are a beginner we suggest go for a basic plan of $5 or $10 droplets.
  • Select the Server location from the available list which is near you.
  • change hostname which you want and click on Create Droplet.

Now check your registered Email with DigitalOcean, You will receiver login credentials to your droplet. you can log in to your droplet terminal using credentials either DigitalOcean Builtin Access control or you can also use third-party software like Putty.

When you First-time login to your Console its ask for change your current password. just simply follow on-screen instruction for it.

Step 2: Installing LAMP (Linux, Apache, Mysql and PHP)

First connect to your Ubuntu Console and login to root account with a new password which you change in step 1 and run following commands as it is…

sudo apt get update

sudo Apt Install apache2

sudo ufw allow in “Apache full”

sud apt install mysql-server

sudo apt install php libapache2-mod-php php-mysql

sudo service apache2 restart

Now you LAMP Server is ready to host websites. you can upload your website file in www directory. to see files in www directory you can use following command.

Website Files Directory : cd /var/www

Step 3: Installing phpmyadmin

sudo apt install phpmyadmin php-mbstr

The post How to make your own hosting server to set up a website on DigitalOcean appeared first on .



This post first appeared on Cybertechroom : Cyber Tech Room | One Stop Solution For All Query, please read the originial post: here

Share the post

How to make your own hosting server to set up a website on DigitalOcean

×

Subscribe to Cybertechroom : Cyber Tech Room | One Stop Solution For All Query

Get updates delivered right to your inbox!

Thank you for your subscription

×