1 of 1 Servers
DiscordWebsiteVPS Dashboard
1 of 1 Servers
1 of 1 Servers
  • Welcome to 1 of 1 Servers
  • 1 of 1 Knowledge Base
    • Customer Guides
      • Adding Developer Access
      • Connect to VPS via Visual Studio Code
      • Dedicated Server vs VPS
      • Product Addons
      • Server Transfers Guide for FiveM
      • What is a CDN | Proxy Cache
    • Networking Guides
      • Basic Network Troubleshoot
      • CloudFlare Proxy
        • Setup
        • DNS Settings
      • Disable UDP for RDP
      • How to run Wireshark
      • How to run Windows MTR
      • Opening your Windows Ports
      • Remote Desktop Connection
      • Speed Tests
      • SQL Issues
    • Troubleshooting Error Codes
      • Remote Desktop Connection Errors
      • VPS Server Errors
  • 1OF1 Set Up Guides
    • API
      • CDN API
      • DDoS Shield API
    • CDN | Proxy Cache
      • CDN | Proxy Cache Setup Guide
    • Dedicated Servers
      • Dedicated Server Setup Guide
        • After Purchase
        • Link Your Discord
        • Manage Your Dedicated Server
    • Graffana Logging
  • VPS Servers
    • VPS Setup Guide
      • After Purchase
      • Link Your Discord
      • Deploy your Operating System
      • Getting Your VPS Login Details
      • Remote Desktop & SSH Guides
        • Logging into Remote Desktop
        • Logging into VPS with Linux OS
          • Creating SSH Key for VPS Install
    • VPS Upgrade or Downgrade
  • 1OF1 Dashboards
    • Dedicated Dashboard
      • Client Area
      • Sever Management and Information
      • My Account
      • Logs
    • DDoS Dashboard
      • IP Management
      • Creating Rules
        • Creating Presets
      • Creating a Webhook
    • Game Server Dashboard
      • Login Creation & Linking Discord
      • System
        • Console
        • Server Details
        • SFTP Details
        • Audit Log
      • Management
        • File Manager
        • Database
        • Backups
        • Subusers
        • Allocations
      • Configuration
        • Startup Parameters
        • Schedules
        • Advanced
      • Tools
        • Modpack Manager
        • Plugin Manager
    • VPS Dashboard
      • Customer Area
      • Server Management
      • Media
      • Password Reset & VNC
      • Network
      • Storage
      • Backups
      • Sharing
  • 1OF1 Game Guides
    • FiveM
      • Car Pack Installation
      • Clothing Installation
      • Common Errors Troubleshoot
        • CURL 56 ERROR
        • CURL 28 ERROR
        • "Fetching server variables..."
        • "Downloading server manifest..."
        • “...are you allowing UDP Packets?”
        • Thread Hitch Warnings
      • External pma-voice server
      • External Zumble/Rust Mumble Server
      • FiveM Convars Definitions
        • FiveM Cities | Opinion Article
          • Population
          • Donations
          • Developing
          • Staff Members
          • Departments
        • MLO Installation
        • Two Servers in One
      • SQL Backup
    • Game Server Guides
  • 1OF1 IN THE COMMUNITY
    • Giveaways
    • 1OF1 Merch
    • Donations
    • Fivemerr
    • Project Sloth
    • Guilda Bot
    • NextV Codes
  • 1OF1 Discounts & Partners
    • Project Sloth
    • Snipe Scripts
    • UZStore
  • Kreativ Signs
Powered by GitBook
On this page
  1. 1OF1 Game Guides
  2. FiveM
  3. FiveM Convars Definitions

Two Servers in One

How to run two servers in one machine.

PreviousMLO InstallationNextSQL Backup

Last updated 4 months ago

1

Duplicate your server to create a "dev server"

  • Make an exact copy of the server files that you'll be using for your dev server.

  • You can make an exact copy by just duplicating your current files from your live server, to make sure everything matches.

2

Modify your ports

  • Open your new server files that you duplicated server.cfg and edit your TDC and UCP to "0.0.0.0:30121".

  • This is going to be the default port for your developer server for FiveM.

3

Change your new servers license key

  • Change your license key so it's not the same as your main server and add it to the new server.cfg file.

4

Create a batch file to run the new "dev server"

We need to create a batch file in order to run the new server:

  1. Create a new Notepad document and click the top result to open the text editor.

  2. Type the following lines in the text file to create a batch file:

@echo off
"C:\QBCoreDev//FXServer.exe" +set serverProfile "dev_server" +set txAdminPort 40125
pause
  1. Keep in mind that you need to replace "C:\QBCoreDev" to where you currently have your FXServer.exe file for the server that you duplciated and as you can see above, the port is 40125 for txAdmin.

  2. Save as and enter devserver.bat

  3. Save to Desktop and run it to get started deploying your server files.

5

Install txAdmin on your server

  • Follow the prompts to install txAdmin on your new dev server.

  • If txAdmin says that ports are in use already, just try a different port.

  • You will need to open ports 40125 and 30121 to allow people to connect. If you need help on how to open your FiveM,

  • You may also want to run a different database other than your main one, remember to rename it on server.cfg.

  • Keep in mind that since this is a developer server, it's going to be using your database for your live server. I'd recommend just exporting your current database, then importing it under a different name so that there's nothing wrong with your current one.

This is the SAFEST WAY to run a dev server. If you do not know how to Virtualize your server, we offer installation of it,

We do not offer any support other than what is found on this guide. Please do not ask us for any support or open tickets about this, they will be auto closed.

follow this guide.
click here to order it, is called "Virtualization".