Introduction
In this tutorial, we’ll be guiding you through the process of creating a FiveM server on a Windows VPS. We recommend purchasing a Game VPS from Iceline Hosting, as we’ve rigorously tested numerous hardware to ensure that your game server will perform at it’s best!
Installing a FiveM Server
First, you’ll need to use RDP (Remote Desktop Protocol) to login to your VPS. If you have purchased a Game VPS from us, you can ignore step #1.
1) Install Visual C++ Redistributable 2019 or newer
![](https://knowledgebase.content.iceline.host/content/images/wordpress/2020/12/mstsc_AEOJDCTTam.png)
2) Navigate to “This PC” then “Local Disk (C:)
![](https://knowledgebase.content.iceline.host/content/images/wordpress/2020/12/mstsc_FcfBYjAaWt-1024x577.png)
3) Create a new folder labelled “FXServer”
![](https://knowledgebase.content.iceline.host/content/images/wordpress/2020/12/mstsc_LbJNFvJPub-1-1024x576.png)
4) Download the “Latest Recommended” FiveM artifacts from here
![](https://knowledgebase.content.iceline.host/content/images/wordpress/2020/12/mstsc_guS6Lq6Sir-1024x85.png)
5) Once downloaded, extract the contents of the “server.zip” into the FXServer folder you created previously
![](https://knowledgebase.content.iceline.host/content/images/wordpress/2020/12/mstsc_oM8RlUZtnd-1024x579.png)
6) Create a folder labelled “server-data”
![](https://knowledgebase.content.iceline.host/content/images/wordpress/2020/12/mstsc_VM3S5Zn3SA-1024x577.png)
7) Navigate into the “server-data” folder created
8) Download the “cfx-server-data” by clicking “Code” then “Download ZIP” from here
![](https://knowledgebase.content.iceline.host/content/images/wordpress/2020/12/mstsc_rNOBYQfOGL-1024x344.png)
9) Extract the contents of “cfx-server-data-master.zip” into the “server-data” folder
![](https://knowledgebase.content.iceline.host/content/images/wordpress/2020/12/mstsc_7h6hg67Llr-1024x577.png)
10) Create a file labelled “server.cfg” and copy the entire contents from here into the file
![](https://knowledgebase.content.iceline.host/content/images/wordpress/2020/12/mstsc_JjrUn7TIRk-1024x358.png)
11) Generate a license key from here, enter your VPS IP in the “IP Address Field”, enter VPS as the “Server Type”, and enter your server name in the “Provider” field.
![](https://knowledgebase.content.iceline.host/content/images/wordpress/2020/12/chrome_2l3rtapt7P-1024x500.png)
12) Copy the license key generated and place it in the server.cfg: “sv_licenseKey MYLICENSEKEY”, replace “MYLICENSEKEY” with the license key generated
![](https://knowledgebase.content.iceline.host/content/images/wordpress/2020/12/mstsc_iEURw2uU9t.png)
13) Create a file labelled “start.bat” and place within the “server-data” folder
cd /d C:\FXServer\server-data
C:\FXServer\FXServer.exe +exec server.cfg
![](https://knowledgebase.content.iceline.host/content/images/wordpress/2020/12/mstsc_ZS6S2pU3Ir-1-1024x579.png)
14) Press the Windows button and search for “Allow an app through Windows Firewall”
![](https://knowledgebase.content.iceline.host/content/images/wordpress/2020/12/mstsc_uawfOcDuge.png)
15) Click “Allow another app…”
![](https://knowledgebase.content.iceline.host/content/images/wordpress/2020/12/mstsc_283lJcGnqY-1024x577.png)
16) Click “Browse” then navigate to “C:/FXServer” then click “FXServer.exe” and click “Open”
![](https://knowledgebase.content.iceline.host/content/images/wordpress/2020/12/mstsc_jcPwtUFZW9.png)
17) Click “Add” then press “OK” – The FiveM server is now allowed through the firewall!
![](https://knowledgebase.content.iceline.host/content/images/wordpress/2020/12/mstsc_6d0YI1s77Z-1024x576.png)
18) Navigate to “C:/FXServer/server-data” then double click “start.bat” and the server should start!
![](https://knowledgebase.content.iceline.host/content/images/wordpress/2020/12/mstsc_yBP2FcLCOx-1024x577.png)
That’s it!
If you have followed all the steps correctly, your FiveM server should be successfully installed on your VPS. If you’re facing any issues, feel free to contact us!