October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
VGSources
Blog

How to Find and Edit the server.cfg File on a Rust Server

The standard Rust configuration path is server//cfg/server.cfg. Learn how to locate or create the file, edit commands correctly, handle host-panel precedence and restart the server so changes apply.
Length9 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

On most Rust hosting setups, the file you need is server/<identity>/cfg/server.cfg. Open it with your host’s file manager or SFTP, edit it as plain text with one console command per line and no leading + sign, save it, then restart the server. Rust does not apply changes from this file to a server that is already running.

The exact outer folder and absolute path depend on the host. For example, one managed layout uses /home/container/server/rust/cfg/server.cfg. If the file is absent, create a file named exactly server.cfg inside the correct cfg directory. Do not edit serverauto.cfg; it is used differently and may be reset to defaults.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The standard location of Rust server.cfg

The conventional location is:

server/<identity>/cfg/server.cfg

Here, <identity> is the identity name assigned to your server. It may be a name such as rust, but hosts are free to use a different value. Do not assume that the word rust is always the identity folder; open the server directory and use the folder that contains your instance’s configuration files.

A managed container layout documented by one provider uses this absolute path:

#1 Best Overall
Sale
Gaoye Blue Light Blocking Glasses
  • BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
  • EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
  • COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
  • LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
  • WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.

/home/container/server/rust/cfg/server.cfg

That absolute path is an example of one provider’s filesystem, not a universal Rust path. On another panel, the same file may appear under a different home directory, account name or instance folder. The relative path inside the server data directory is the reliable starting point.

Choose an access method

Method How you reach the file Best for Important limitation
Host file manager Open the panel’s Files or File Manager area, then browse to server/<identity>/cfg. Quick edits from a browser The panel may have its own Settings page that takes precedence over manual edits.
SFTP Connect with the SFTP credentials supplied by the host and browse to the server data directory. Downloading a backup, editing locally or transferring several files The host may expose a different absolute starting directory than the panel.
Self-managed server Use the operating system’s file tools to enter the Rust server directory and then cfg. Administrators who control the machine directly You must identify the correct instance directory when several Rust servers share one machine.

Regardless of method, you are looking for a plain-text file named server.cfg inside the instance’s cfg folder. If you see several identities, edit the one used by the server you intend to restart.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Find server.cfg in a hosting panel

  1. Stop or otherwise prepare the instance according to your host’s procedure. A restart is required after saving, and some panels warn you before editing files while the server is running.
  2. Sign in to the game-server control panel and open the instance for your Rust server.
  3. Open the panel’s Files, File Manager or similarly named section.
  4. Open the server directory.
  5. Open the folder matching your server identity.
  6. Open cfg.
  7. Select server.cfg and choose Edit. If the file is not listed, follow the creation steps below instead of editing serverauto.cfg.
  8. Make the required change, save the file and restart the Rust server from the panel.

One common panel layout presents the path as server/rust/cfg/server.cfg. If your panel starts you in a directory called /home/container, the same location can appear as /home/container/server/rust/cfg/server.cfg. The visible path is host-specific; the folder sequence is what you should verify.

Find and edit it over SFTP

  1. Obtain the SFTP hostname, port, username and password or key from your host. Use SFTP, not ordinary FTP, when the provider specifies SFTP.
  2. Connect with an SFTP client and identify the directory that corresponds to the server files shown in the panel.
  3. Browse to server/<identity>/cfg.
  4. Download server.cfg before editing so you have a local backup. Keep the original filename and extension.
  5. Open the downloaded file in a plain-text editor, make the change and save it as plain text.
  6. Upload the edited file back to the same cfg directory, confirming replacement when the client asks.
  7. Restart the matching Rust instance in the host panel or through your normal service manager.

If SFTP opens in a directory that does not contain server, you may be in the account’s home directory rather than the game-server root. Use the path shown by the panel, or ask the host which directory is mapped to its Files view. Do not upload the file into a similarly named backup, log or world-save folder.

What to do when server.cfg is missing

Some host documentation notes that Rust may not create server.cfg automatically on a first installation. An empty or newly installed server can therefore have a cfg folder without this file.

Rank #2
Windex Gaming Cleaning Wipes, Pre-Moistened Wipes to Instantly Clean all Gaming Gear and Electronics, Resealable Packaging for a Freshness Lock, 25 count (Pack of 1)
  • WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
  • AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
  • PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
  • ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
  • COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed
  1. Confirm that you are in the active instance’s server/<identity>/cfg directory.
  2. Use New File, Create File or the equivalent SFTP action.
  3. Name the file exactly server.cfg, including the lowercase .cfg extension.
  4. Open it in the editor and add one valid console command per line.
  5. Save it and restart the server.

On Windows, Notepad can silently append .txt. A file that appears as server.cfg in a dialog may actually be server.cfg.txt if extensions are hidden. When saving locally, set Save as type to All Files, type server.cfg as the filename and then verify the complete name in File Explorer or your SFTP client. A file with the extra .txt extension will not be read as the intended configuration file.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use the correct server.cfg format

Treat the file as a list of console commands, not as a JSON, YAML or Windows INI document.

  • Put one command on each line.
  • Do not put a leading + before a command. The plus-prefixed form commonly used in startup parameter strings is not the format expected in this file.
  • Keep the command name and its value on the same line in the form required by Rust.
  • Remove accidental quotation marks, bullet characters and rich-text formatting introduced by word processors.
  • Save the file before restarting the instance.

Because the file is plain text, a browser editor or a programmer’s text editor is safer than a word processor. If you edit locally, close the file before uploading it so that an older unsaved copy cannot overwrite the corrected version.

Apply the changes: restart is required

Changes saved in server.cfg do not alter a Rust server that is already running. Restart the instance after every configuration edit that you want Rust to load.

  1. Save the file and confirm that the timestamp or file contents changed in the panel.
  2. Use the panel’s Stop and Start controls, or its Restart control if provided.
  3. Wait for the server to finish starting and become available again.
  4. Check the in-game behavior or console output that the setting is intended to affect.

Simply refreshing the Files page, reconnecting with SFTP or restarting your game client is not enough. The Rust server process must be restarted so it reads the file during startup.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
LISEN Cell Phone Stand Phone Holder for Desk, Office Decor Gadgets for Men
  • Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
  • Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
  • Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
  • ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
  • Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)

Do not edit serverauto.cfg

serverauto.cfg is not a substitute for server.cfg. A provider specifically warns that editing it can cause it to be reset to default values. Put persistent server settings in server.cfg unless your host’s current documentation explicitly directs you to another file.

If you already changed serverauto.cfg, restore the intended values in the proper configuration file, save it and restart. Keeping a backup of the original files makes it easier to recover from an accidental overwrite.

Why a server.cfg change may appear not to work

The file is in the wrong identity folder

Hosts can store multiple identities under server. If you edited server/example/cfg/server.cfg but the startup configuration launches another identity, Rust will never read the file you changed. Compare the identity named in the server’s startup or panel configuration with the folder you edited.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The filename has an extra extension

Check for server.cfg.txt, a duplicated extension or a misspelling such as serverconfig.cfg. The required name is exactly server.cfg.

You did not restart the process

A saved file is not a live reload. Perform a full server restart and wait for startup to complete before testing again.

Rank #4
Ledagic IC+RGBW USB Powered Led Light Bar with App & Remote Control, 2 Pack
  • Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
  • Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
  • 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
  • Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
  • USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC

The line format is invalid

Confirm that every setting occupies its own line and that no line begins with +. Remove copied bullets, smart quotes or other non-command characters. If one newly added line is suspect, remove it, restart and test the server with the remaining known-good lines.

The panel’s Settings page overrides the file

Documentation is inconsistent about precedence. One host guide states that values in server.cfg override startup options, while another warns that settings entered in the panel’s Settings page override manual file edits. This behavior is host-specific and can change with the panel’s startup generator.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

When a value keeps reverting, inspect the panel’s Settings page and startup-parameter fields. Remove or change the conflicting value there, save the panel configuration, then edit server.cfg and restart. If the panel intentionally regenerates configuration at startup, use the panel field for that setting or follow the provider’s documented precedence order.

The edited file was not uploaded or saved

With SFTP, verify that the upload completed to the active instance’s cfg directory rather than to a local download folder or a different server. With a browser editor, reopen the file after saving and confirm that the new line is still present.

Another process restores the file

If your changes disappear after a restart, compare the file before and after startup. A control panel, deployment script or host template may be rewriting it. Do not keep changing the same file blindly; identify which panel field or automation is generating the replacement and update that source instead.

Best Value
Sale
HUANUO FlowLift™ Dual Monitor Stand, Fully Adjustable Gaming Monitor Desk Mount for 13–32″ Computer Screens, Full Motion VESA 75x75/100x100 with C-Clamp & Grommet Base, Each Arm Holds 4.4 to 19.8 lbs
  • Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
  • Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
  • Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
  • Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
  • Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Can you change settings without restarting?

A host guide suggests that some settings can be entered through the in-game or RCON console for an immediate, in-memory change. The same guide mentions writecfg as a way to save console changes back to a configuration file. This behavior should be treated as host- and version-dependent rather than guaranteed.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If you use a live console command, first confirm in your own server that the command is accepted and that the resulting value persists after a restart. For dependable deployment, edit the correct server.cfg file and restart the server; that is the documented application path for file-based changes.

Panel editor or SFTP: which should you use?

Use the panel editor when

  • You need to change a small number of lines quickly.
  • You are not comfortable locating the host’s SFTP root.
  • You want the panel to show the exact directory used by the running instance.

Use SFTP when

  • You want a downloadable backup before editing.
  • You need to compare versions or transfer several configuration files.
  • The panel editor is unavailable or truncates the file.

Neither method changes Rust’s loading rule: the file must be in the active identity’s cfg directory, use the exact filename and format, and be followed by a server restart.

A safe editing checklist

  • Identify the active server identity and its server/<identity>/cfg path.
  • Confirm that you are editing server.cfg, not serverauto.cfg.
  • Download or copy a backup before making changes.
  • Use plain text with one command per line.
  • Do not add leading + signs.
  • Check for a hidden .txt extension on Windows.
  • Save or upload the file to the active instance, then reopen it to verify the contents.
  • Inspect the panel’s Settings page for a conflicting value.
  • Restart the Rust server and wait for it to finish starting.
  • If the setting still fails, test one change at a time and check whether the file is being regenerated.

The shortest reliable procedure

  1. Open server/<identity>/cfg in your host panel or through SFTP.
  2. Create server.cfg if it does not exist.
  3. Edit it as plain text, placing one command on each line and no leading +.
  4. Save or upload the file.
  5. Check for a panel setting that overrides the same value.
  6. Restart the matching Rust server.

If those six steps are followed and the setting still does not take effect, the likely causes are an incorrect identity path, a hidden filename extension, invalid line formatting or a host panel that regenerates settings. Resolve those in that order before changing unrelated files.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.