What is Home Media Server??
A media server is a network device which acts as a central location for users to access media files on a network. There are three main components to any media server system:
  1. Server — It is a smart device which ‘serves’ clients with the requested media files.
  2. Storage device — This is used to store all the media files such as videos, photos, computer files.
  3. Clients — These are devices that the end user can access the media from. Examples: TV, mobile phone, your personal computer.
All of these three components must be able to talk to each other — typically they are connected by a local area network (but it may also be connected by wireless methods).
Finally, a media server system also needs to have appropriate media server software to allow users to actually communicate with the server and access files.

Which Hardware/Software is best for Home Media Server??

We can’t buy anything to set up a media server as we will need specialized components for better performance, for instance we can’t install standard HDD (WD / Seagate Standard HDD’s) in the server instead we will need an Enterprise-grade HDD (Seagate IronWolf/ WD Red Etc) for our server.
For manually creating a home server we need :

CPU
 — High Performance Intel & AMD Processors 
RAM
 — HyperX Fury 4x8GB DDR3–1600
HDD
 — Seagate IronWolf / Pro 4TB-10TB
SSD 
— Samsung 840EVO
Motherboard 
— Asrock Z77 Pro4-M
Case 
— Fractal Design Define Mini
Cooler 
— Thermalright Le Grand Macho RT
PSU
 — Seasonic 400W Fanless
OS
 — FreeNas or Ubuntu Server

For manual setup, we will need hardware like this. the major drawback of this type of Operating Systems (FreeNas & Ubuntu Server) is that they don’t have any mobile applications so we have to use third parties apps which have another level issue in setting them up and these servers consumes a tremendous amount of electricity for a home use.
To get rid of this, I would prefer Ready To Use Nas devices which are the better option for home users and small business users. As per market recommendation, The best Nas service for home/small-Business users is SYNOLOGY.
Synology has a wide variety of NAS systems according to your need.
The Best Budget NAS is a Synology NAS DS218+
In the next section, I will tell you the pros and cons of it and also I share my complete setup to you all.

SYNOLOGY NAS DS218+ (Budget NAS)

Synology DiskStation DS218+ features a dual-core processor with AES-NI encryption engine and transcoding engine, providing high-speed file transfers and supporting real-time 4K transcoding. DS218+ is ideal for protecting critical assets and sharing files across different platforms. Synology DS218+ is backed by Synology’s 2-year limited warranty.
Synology DiskStation DS218+ is designed for home users or small businesses pursuing a compact and reliable shared storage solution, offering the flexibility to expand the 2 GB RAM to up to 6 GB RAM to process intensive workloads. DS218+ features a dual-core 2.0 GHz processor with a burst frequency of 2.5 GHz. With AES-NI, DS218+ delivers encrypted performance of up to 113 MB/s reading and 112 MB/s writing under RAID 1 configuration1 . DS218+ comes with three USB 3.0 ports. The hot-swappable drive tray design allows easy installation and maintenance on 3.5-inch HDDs without additional tools.
Its comes with its own operating system : DSM
It covers all the mobile operating systems such as Android, IOS and also Major Linux Distros . It holds low powered Intel Celeron which consumes less power.
Hardware Used with It :
HDD : Seagate IronWolf 2TB To 12TB
Expansion RAM : 
1. Synology RAM DDR3L-1866 SO-DIMM 4GB (D3NS1866L-4G), OR
2. HyperX 4GB 1866MHz DDR3L CL11 1.35V SODIMM HyperX Impact Laptop Memory HX318LS11IB/4

Setup Synology NAS DS218+ From Scratch

First of all made all the connection and Install the Hard Drives and RAM.

To Find Synology NAS

After Successfully connecting the server to home router and open the browser. there are two ways to find synology on your network :
  1. Find.synology.com
  2. Diskstation:5000

Setup Synology

Fill up your preferred username and password & setup quick-connect.

Some Quick Settings :

1. First of all check for DSM Updates
2. Right Top corner  Personal Settings 
3. Control Panel Settings
4. Package Center Settings 
Package Center ➢ Settings ➢ Click on check Box of “Synology Inc and Trusted Publishers”
This will add Some Extra Packages to the Package Manager.
5. Some Must Packages (For Home Users)
Package Manager ➢ All Packages

How to Setup Your Server to Your Personal Domain Name

1. Purchase a domain name.
For my server, I’ve purchased a domain from NameCheap.com and have also setup personal email trial service. It will require in adding SSL to your domain.
2. DNS Settings to Connect Your Domain To Your Server
Add your records to your domain. As in my setup my sub-domain is Synologyds, You can set your sub domain as you want.
3. Add SSL To Your Domain Name
You can add any free SSL Certificate to your domain name but if you want a paid and trusted SSL like the one I’ve using for my domain. you can purchase it from best ssl service like Comodo DV SSL
Go to WoTrus Certificate Store ➢ Purchase Comodo DV SSL ➢ 
Now go to Tool Section :
Settings for your Synology Server
Go to Control Panel ➢
  1. External Access ➢ Advanced
    HostName : Synologyds.example.com
    HTTP : 5009 ( Add Port Number You want to use your NAS over with )
    HTTP/S : 5010
  2. Network 
    DSM PORTS : 
    HTTP : 5009
    HTTP/S : 5010 
    Click on check Box “ HTTP Redirect To HTTP/S” & “ENABLE HTTP/S V2”
  3. Security 
    Certificate : We above discussed how to add a certificate ( Synlogyds.example.com )
    TLS/SSL Profile Level : Modern Compatibility
  4. Web-Station
    Install a package “Web_Station” from Package Center
    Virtual Host : Synologyds.example.com
    Port : 80/443
    Protocol : HTTP / HTTPS
    Backend Server : Nginx
  5. DNS Server 
    Install this also from Package Center
    ZONE ID : synologyds.example.com
    Domain Name : Synologyds.example.com
    Type : Master
  6. Setup EZ_INTERNET
    This will automatically detect your router and will also auto forward the ports to your server.
  7. Router Settings (M-Important)
    Log-in to your router admin panel and add a Secondary DNS Server to your router settings. This secondary DNS is your Internal IP of your server (10.0.0.150)
    Because without adding the secondary DNS to your router settings you won’t be able to access your server over your domain name.

Secure Synology

How To Backup Your Data In Synology NAS