To add a mod, send it to the minecraft/mods directory. To do this, you can either use the FTP Web in the management panel (recommended) or an FTP client like FileZilla. To install a Forge mod, we'll need to have access to the server files. Install Forge on your server without reinstalling it. Reinstall your Minecraft server with forge (current data on your server are going to be destroyed). The installation is done in one click thanks to the management panel.
We'll discuss all of the issues of creating your private modded server: installation of Forge on the server (and the client Minecraft, without launcher) and then how to install mods. This API allows you to install many different modes easily.
In this guide, we'll see how to create a Minecraft server modded with Forge.