User Tools

Site Tools


nameserver

This is an old revision of the document!


Name Server

The NameServer is a JSON Response used for giving the URLs of the different API URLs to the Client . (In this context, Your Rec Room Build.)

Here is an Example for Late 2018:

{
    "API":"https://api.yourserver.com",
    "Images":"https://cdn.yourserver.com",
    "Notifications":"https://notifications.youserver.com"
}

But what if I don't have a Domain!? :(

Now you dont need subdomains OR a domain for this. you can run purely off of http but it is not recommended as its unsecure, unencrypted and attackers can easily intercept connections with the server.

Why a NameServer?

The reason the NameServer is used is to seperate different loads across different servers so one computer wasn't handling all the load from the users. instead Images are seperated from API so the API doesn't work with Images and the Image server doesn't work with any APIs (Usually).

You don't need multiple servers, you can make the url all the same url if you want one server to handle all. (Again not recommened).

Responses by Year

nameserver.1774037283.txt.gz · Last modified: by null_mason

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki