Lets understand WOL aka wakeonlan.
As per wikipedia:
Wake-on-LAN (WOL) is an ethernet computer networking standard that allows a computer to be turned on or woken up by a network message.
So now you want to power-ON a remote server without actually going there. WakeOnLan (wol) helps you do this. WOL sends magic packets to wake-on-LAN enabled ethernet adapters and motherboards to switch on remote computers.
The message is usually sent by a program executed on another computer on the same local area network.
1. Make sure the NIC of the Server should support WOL and WOL feature should be enabled. It is enabled by default. If it is not you can give the – ethtool -s eth0 wol g command to enable it.
2. Note down the MAC of the Server.
3. Install “wakeonlan” application on your desktop or machine from where you are going to initiate the “magic” packet.
4. Execute the “wakeonlan” command to Power-ON the Server remotely using LAN.
Here is a illustration from my machine.