Skip to main content

Rust server setup

How to load a custom Rust map

A custom map replaces the procedurally generated world with one somebody designed by hand. Loading it is a single line in server.cfg, and almost every failure comes down to the URL not pointing at the file itself.

  • Rust guides
  • Updated
  • 6 min read
  • 10 steps
  • server.levelurl
  • Wipe recommended
SERVER.CFGserver.cfg# server.cfgserver.levelurl "https://examplesite.com/maps/ myrustmap?dl=1"# must end ?dl=1# a share page URL will not work

The short answer

Stop the server, open server.cfg and add server.levelurl "https://yourhost.com/maps/yourmap?dl=1", save, then start the server. The URL has to end in ?dl=1 so the host returns the file rather than a web page. Wipe afterwards.

Key points

  • One config line does the whole job.
  • The URL must be a direct download, not a share or preview page.
  • The server must be able to fetch it without logging in.
  • Wipe afterwards, or your old bases will be scattered across new terrain.

Before you start

A custom map is a designed world rather than a generated one, which makes it one of the more effective ways to make a server feel different from the hundreds beside it in the browser. You need two things before you begin:

  • A direct download URL for the map file, reachable without a login.
  • A willingness to wipe. Loading a custom map onto a populated world is not a good idea, for reasons covered below.

Loading the map

  1. Log in to the control panel

    Sign in to the control panel.

  2. Open Game Services

    Click Game Services from the main menu.

    The Game Services menu item in the control panel
    Game Services
  3. Select your Rust service

    Click your Rust Service.

    The Rust service listed in the control panel
    Rust Service
  4. Stop the server

    Click Stop. Editing config on a running server means your changes get overwritten when it shuts down.

    The Stop button on the Rust server management page
    Stop Server
  5. Open Configuration Files

    Go to the Configuration Files section.

    The Configuration Files section of the control panel
    Configuration Files
  6. Edit server.cfg

    Open server.cfg with the text editor.

    The server.cfg file open in the control panel text editor
    Edit server.cfg
  7. Add the custom map URL

    Add this line, with your own URL:

    server.levelurl "https://examplesite.com/maps/myrustmap?dl=1"

    Make sure the URL ends with ?dl=1 so the map loads directly from the source.

    The server.levelurl line added to server.cfg
    The levelurl line in server.cfg
  8. Save and exit

    Click Save and Exit to write the change.

  9. Start the server

    Press Start. The server downloads the map on boot, so the first start takes longer than usual.

    The Start button on the Rust server management page
    Start Server
  10. Wipe the server

    Recommended rather than optional. Follow our Rust server wipe guide.

Why the URL matters

This is where most custom map attempts fail, and the failure is unhelpfully quiet.

Your server does not open a web browser. It makes a request and expects a map file back. Many file hosts, given a plain share link, return an HTML page with a download button on it. That page is what the server receives, and since it is not a map, the load fails.

The ?dl=1 parameter is the common way of telling a host to skip the page and return the raw file. Different hosts use different mechanisms, so the underlying rule is what matters: the URL must return the file itself.

Test it before you put it in the config. Paste the URL into a private browser window. If the file downloads immediately, the server will get the same thing. If you see a web page, the server will get that page instead.

Wiping afterwards

Every structure, deployable and container on your server is positioned against the terrain it was built on. Swap the terrain and none of those positions mean anything any more. Bases end up buried in hillsides, floating over water or intersecting the new map's own content.

Wiping clears all of that so the map starts as its designer intended. It is technically possible to skip it, and the result is reliably a mess.

When the map will not load

Server starts on a procedural map instead
The download failed and Rust fell back to generating a world. Check the console output from the boot, which will show the failure.
URL requires a login
If the host asks a human to sign in, it will refuse your server too. Move the file somewhere publicly reachable.
Line in the wrong place or malformed
Check the quotes are straight rather than curly, and that the whole URL is inside them.
Map file is for a different Rust version
Custom maps can break after major game updates. Check with the map's creator rather than assuming your config is wrong.

Once it is running, a custom map is worth talking about. It is a genuine differentiator in a browser full of procedural worlds, so put it in your server description and your listing entry. Our guides on server description tags and Rust server advertising cover how to make that land.

More guides for people running their own Rust server.

Quick answers

Common questions

Add server.levelurl "your-map-url?dl=1" to server.cfg, save it, and restart the server. The URL must be a direct download link to the map file, and a wipe afterwards is recommended so the previous world does not conflict with it.

Because the server needs the file itself, not a web page about the file. Many file hosts serve an HTML preview or share page at the plain URL and only return the raw file when a download parameter is present. Without ?dl=1 the server downloads a page of HTML and fails.

It is strongly recommended. Existing bases and entities are positioned against the old terrain, so keeping them across a map change leaves structures floating, buried or overlapping the new geography. A wipe gives the map a clean start.

From map creators and Rust map marketplaces. What you need from wherever you get it is a direct download URL for the map file that your server can reach without logging in.

The usual causes are a URL that points at a share page rather than the file, a host that requires authentication, or a typo in the config line. Check the console output on startup, which will normally show the download failing.

Yes. Remove or comment out the server.levelurl line, restart, and the server generates a procedural map from your seed and world size again. Expect the usual map generation wait.

Rust hosting with config file access

Every Rust server we host includes the config file editor and file manager this guide relies on, with no locked settings.

  • UK data centre
  • Config file editing
  • Support by ticket and Discord