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!
Please follow the instructions below to setup a FiveM server on a Windows VPS.
We recommend opening this tutorial URL directly on the VPS
Connecting to Remote Desktop
First, you'll need to connect to your VPS using Remote Desktop. Remote Desktop is an application that allows you to control and access the VPS. We recommend the official Microsoft Remote Desktop application, which you can download here.
1) Open up the Microsoft Remote Desktop application
2) Click "Add" at the top right in the navigation bar, and click "PCs"

3) You'll now need to enter your VPS details
4) First click the "+" icon next to "User Account"

5) Enter in "Administrator" as the username, the password is your VPS password. Then click "Save"

6) Enter your VPS IP in the "PC Name" field

7) Now you can click the Save button, you should see your VPS in the application, you can now click on it to connect

8) Click "Connect anyway" and tick "Don't ask about this certificate again"

9) You should now be connected to your VPS!

Installing FiveM Server Files
1) Click Windows Explorer, and go to the C: drive

2) Create a new folder called "FXServer"

3) Download and install WinRAR from this link
3) Now navigate to the FiveM website, and download the FiveM artifacts for Windows
4) Click "Latest Recommended"

5) It will download a file (server.7z) drag and drop into your FXServer folder you created earlier

6) Click Extract here

Setting up FiveM Server
1) Double click and open the FXServer.exe

2) It should automatically open the Window, if not go to "https://localhost:40120" in the browser and copy the pin from the terminal

3) Click "Link Account" and then login with your CFX account
4) Enter in a backup password, then click "Create Master Account"

5) It will now open the txAdmin server setup, click "Next"

6) Enter in your server name (this can be changed later)

7) At this point, you can now choose a txAdmin recipe. A txAdmin recipe sets the server up for you. You can choose to install any popular framework, or you can choose to use your existing server data. We're going to proceed with a new server.
You would then enter "C:/FXServer/server-data" as the base folder in txAdmin.
If you need to know how to upload your files, scroll down to "Setting up FTP"
8) We're going to set up a QBCore server, but you can use any template; the instructions will be similar

9) Confirm if that's where you wish to store the files, then click "Save"

10) Click "Go to recipe deployer", and click "Next"


11) Open "Xampp" from the taskbar, it's the orange icon pinned

12) Click the "Start" button next to MySQL. This is how you can start your MySQL server, which is needed for the next step

13) Enter your license key as requested, then click "Run Recipe". You can generate a license key by going to the CFX Keymaster

14) The recipe deployer will then run and wait until completed

15) Once completed click "Next", you can then verify your next server.cfg, and if happy (can be changed later), click "Save & Run Server"

16) Congratulations, your server should now be set up and online!

Setting up FTP
1) Open up Xampp again, the "orange icon"

2) Click "Start" next to FileZilla, then click the "Admin" button


3) Proceed to click "OK" without changing any details

4) Click "Edit" then click "Users"

5) Now click the "Add" button under "Users"

6) Enter a username, you can put "Administrator" or any name, then click "OK"

7) Then tick "Password" and enter a password

7) Click "Shared Folders" and click "Add"

8) Choose "Local Disk (C:) and then click "OK"

9) Assign all the permissions as shown below

10) You can then click "OK" bottom left corner and connect to FTP from WinSCP/FileZilla from your PC

11) When using FileZilla/WinSCP use these details
Hostname/IP: Your VPS IP, in my case (54.38.151.210)
Username: "Administrator" or what you set in above steps
Password: The password you set above
Port: 21
You should be able to connect, Port forwarding is already configured
Accessing Your Database (via Phpmyadmin or HeidiSQL)
1) You can access PhpMyAdmin by clicking the "orange" icon (Xampp). Then click "Start" next to Apache

2) Then click "admin" next to MySQL

3) It will now automatically open PhpMyAdmin in your browser

4) If you wish to use HeidiSQL, you just need to click the "green" icon in the taskbar (HeidiSQL)

5) The details are already filled in for you, just click "Open"

6) HeidiSQL should now open for you!

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!