LogoLogo
SupportServer Hosting
  • Sonoran CAD
  • 📱Download The App
    • Steam Browser - Workaround
    • Web Browser - Clear Cache
    • Desktop App - Clear Cache
    • GTA RP Tablet - Clear Cache
    • Steam Browser - Clear Cache
  • Why Choose Sonoran CAD?
    • 🏆Why Choose Sonoran CAD?
  • Other Products
    • 🖥️FiveM Hosting
    • 📝Sonoran CMS
    • 📡Sonoran Radio
  • Tutorials
    • Getting Started
      • Registering Your Account
      • Registering Your Community
      • Inviting Users to Your CAD
      • Granting Account Permissions
      • View Your Limits
      • Community ID and API Keys
      • Troubleshooting
    • Customization
      • Custom Domain & Login Page
      • Customizing Your Layout
      • Community Branding and Settings
      • Creating Custom Record and Report Types
      • Sharing Custom Records
      • Custom Search Types
      • Geographical Settings
      • Penal Codes
      • 10-Codes
      • Addresses and Street Names
      • Unit Status Codes
      • Tone Board
      • Custom Audio Notifications
      • Custom Emails
      • Quick Links
      • Custom Page Colors
      • User Account Restrictions
      • Configuring Multiple Servers
      • Advanced Query Strings
    • Dispatching
      • Creating a Call
      • Self Dispatch
      • Timers
      • Command Line Interface (CLI)
    • Records Management
      • Record Lookups
      • Adding a Record
      • PDF Records
      • Scene Diagram Builder
    • Administration
      • System Logs
      • Remove User Account
      • Deleting or Transferring your CAD
    • Other Features
      • Configurable Hotkeys
      • Voice Commands
      • Volume and Language
  • Integration Capabilities
    • 🗃️Paid Integration Resources
      • Mobile Command Center
      • ATM Robbery
      • In-Vehicle Radar
      • Evidence Camera
      • Power Grid
      • Speed Cameras
      • Shot Spotter
    • 🛠️Integrated Vendors
    • 📺Twitch Bodycam, Bot, & Lighting Integration
    • Database Sync and Merge
      • Database Sync Credentials
      • QB Core Mapping Tutorial
      • Troubleshooting
    • Discord Bot Integration
    • Discord Rich Presence
    • Discord Webhooks
    • TeamSpeak 3 Integration
    • Stream Deck Integration
    • 🎮FiveM
      • FiveM Installation
        • Submodule Configuration
          • Submodule Troubleshooting
          • Submodule Configuration Updates
        • FiveM Submodules
          • Body Camera
          • Call Commands
          • Check API ID
          • Civilian Integration
          • Dispatch Notify
          • Emergency Response Simulator (ERS)
          • Framework Support (ESX/QBCore) and Auto Fines
          • FivePD
          • ForceReg
          • Kick
          • Locations
          • Live Map
          • Lookups
          • Postals
          • Smart Signs
          • Sonoran Radio (sonrad)
          • Station Alert
          • Tablet & Mini-CAD
          • TeamSpeak 3
          • Traffic Stop
          • Unit Status
          • VehReg
          • WraithV2
      • FiveM Development Documentation
        • Client Functions
        • Shared Functions
        • Server Functions
        • Server Events
        • HTTP Request Handling
      • Error Codes
    • 🎮Roblox ER:LC
  • Developer API Documentation
    • 📖API Integration
      • Getting Started
        • Retrieving Your Credentials
        • Integration API ID
        • Account Secret ID
      • Push Events
        • Event Restrictions
        • Record Events
          • Record Added
          • Record Edited
          • Record Removed
        • Unit Events
          • Unit Panic
          • Unit Login
          • Unit Logoff
          • Unit Status Update
          • Unit Group Name Change
          • Unit Group Add
          • Unit Group Remove
        • Dispatch Events
          • New Dispatch
          • Modified Dispatch
          • Closed Dispatch
          • Dispatch Note
          • Attach Unit
          • Detach Unit
          • Toggle Bodycam
        • Event 911
        • Remove 911
        • Sign Updated
        • Tone Played
        • Civilian
          • Character Selected
        • ERS
          • New Callout
        • Station Alert
          • New Station Alert
      • API Endpoints
        • API Restrictions
        • Emergency
          • Identifiers
            • Get Identifiers
            • Modify Identifier
            • Set Identifier
            • Unit Panic
            • Kick Unit
            • Unit Status
            • Get Active Units
            • Update Unit Location
          • Dispatch and Emergency Calls
            • Get Calls
            • New Dispatch
            • Attach Unit
            • Detach Unit
            • Update Call Postal
            • Add Call Note
            • Update Call Primary
            • Close Dispatch
            • New 911 Call
            • Remove 911
          • Custom Blips
            • Get Map Blips
            • Add Blip
            • Modify Blip
            • Remove Blip
          • Street Signs
            • Set Street Sign Config
            • Update Street Sign
          • ERS
            • Set Available Callouts
          • Station Alert
            • Set Stations
        • Civilian
          • Set Character
          • Get Characters
          • New Character
          • Edit Character
          • Remove Character
          • DB Sync: Get Character Links
          • DB Sync: Link Character
        • General
          • Get Servers
          • Set Servers
          • Get Version
          • Set Penal Codes
          • Set API IDs
          • Custom Records
            • API Options for Adding and Modifying Records
            • Get Record Templates
            • New Record
            • Edit Record
            • Remove Record
          • Lookup By Value
          • Lookup Name or Plate
          • Get Account
          • Get Accounts
          • Check API ID
          • Apply Permission Key
          • Modify Account Permissions
          • Kick or Ban User
          • Verify Secret
          • Auth Street Signs
          • Set Postal Config
          • Set Clock Time
          • Send Photo
          • Leave Community
          • Join Community
        • Local Endpoints
          • Smart Lighting
        • Internal
          • FiveM Download
      • API Examples
        • Emergency
          • LUA Examples
            • Dispatch and Emergency Calls
              • New 911 Call
              • Remove 911
              • Add Call Note
              • Set Call Postal
            • Custom Blips
              • Add Blip
              • Add Blips
              • Add Temp Blip
              • Get Map Blips
              • Remove Blip
              • Remove Blip With Subtype
            • General
              • Lookup Name or Plate
          • JavaScript Examples
            • Dispatch and Emergency Calls
              • New 911 Call
              • Remove 911
              • Add Call Note
              • Set Call Postal
            • Custom Blips
              • Add Blip
              • Add Blips
              • Add Temp Blip
              • Get Map Blips
              • Remove Blip
              • Remove Blip With Subtype
            • General
              • Lookup Name or Plate
      • Development Branch
    • 💵Developer Bounties
    • 🌎Translation Support
  • Pricing
    • Pricing FAQ
      • Military and First Responder Discount
      • Expert Installation
      • Accessing the Payment Center
      • Create and Manage a Subscription
      • Request Discord Role
    • View and Compare Plans
  • Roadmap
    • 📋Changelog
  • Other
    • AI QA
    • Contact Us
    • Policy
      • Rocket CAD Closure
      • Terms of Service
      • Privacy Policy
      • Refund and Purchase Policy
      • Discord Bot
    • Archive
      • Fire Siren
Powered by GitBook
On this page
  • DNS Record Method (Recommended)
  • 1. Add a CNAME and TXT Record for your Domain
  • 2. Set the Domain Name in Sonoran CAD
  • iFrame Method
  • 1. Download the HTML File
  • 2. Edit the HTML File
  • 3. Host the HTML File
  • In-Game Tablet

Was this helpful?

Edit on GitHub
  1. Tutorials
  2. Customization

Custom Domain & Login Page

Looking to use your own domain name with Sonoran CAD? We've made it easy for you!

PreviousCustomizationNextCustomizing Your Layout

Last updated 7 months ago

Was this helpful?

Custom login pages require the standard version or higher. For more information, see our or view how to check your community .

Looking for VPS, web, or dedicated hosting? Check out our official !

The custom login page allows your community members to register, sign-in, and access your CAD all on your own domain! In addition, user signups and password recovery emails have your . Logging in also takes you directly to the community, instead of having to select the community at the menu.

DNS Record Method (Recommended)

1. Add a CNAME and TXT Record for your Domain

CNAME Record

In your domain's DNS records, add a CNAME type record with the name set to any desired subdomain and the content set to login.sonorancad.com.

The example record below sets cad.sonoranroleplay.com as the custom login page URL.

TXT Record

This verifies that your Sonoran CAD community owns this domain.

DNS Example

The example below shows the TXT record verifying the community ID, and cad.sonoranroleplay.com set to the custom login page.

Cloudflare Users: Be sure to have the DNS record proxy DISABLED - and set to DNS Only.

If you are using Sonoran Servers, our company's server hosting for your domain name, please note the differences in how to enter the settings pictured below. Each DNS system is a bit different and requires different input for the Host Name. Typically the hostname is left blank or in this case a @ is used to point the record at the root domain name of "sonoranrp.com"

2. Set the Domain Name in Sonoran CAD

Now that you have a CNAME and TXT record on your domain, in the Sonoran CAD customization menu, set the custom login page URL. This should not contain any https:// or other extensions.

When updating or changing an existing DNS record, it may take some time for the change to propagate (based on your TTL). You can try running ipconfig /flushdns in a Windows CMD window and restarting your browser. Otherwise, you can test with other browsers/devices/users while you wait.

iFrame Method

1. Download the HTML File

2. Edit the HTML File

3. Host the HTML File

In-Game Tablet

"https://sonorancad.com/#/?comid=YOUR_COMMUNITY_ID_HERE"

Add the following to your server.cfg before starting the tablet resource:

setr sonorantablet_cadUrl "YOUR_URL_HERE"

Fill in with your actual URL above with the comid you want.

If you are unsure how to add a DNS record, you will need to contact your domain registrar. Or, you may purchase a new domain name with .

Due to , if you wish to use the Apex / root domain instead of a subdomain (i.e. dojrp.com vs cad.dojrp.com), you must have a domain registered with Cloudflare, or otherwise.

In your domain's DNS records add a TXT type record with the name set to sonorancad_verify_domain and the text/content set to your .

Don't forget to press save! Users can now visit this custom domain to view the CAD with a custom login page, including receiving your for signups and password recovery messages.

If you are unable to use the , you can also host an HTML page that renders the CAD in an iFrame.

Replace YOUR_COMMUNITY_ID_HERE in the index.html file with your .

Now that you've saved the custom URL inside of the HTML file, you can host this with your own domain on your own web server. Users can now register and access your CAD from your custom domain, and will even receive your for account actions.

If you wish to use a custom login page when using the , you can set a convar in your server.cfg. The easiest way to show your is to use a query string.

Simply replace YOUR_COMMUNITY_ID_HERE in the URL with your . EX: https://sonorancad.com/#/?comid=midwestrp

Sonoran Servers
DNS requirements
transfer your existing domain to Cloudflare
branded emails
You can download a ZIP of the HTML page here.
community ID
custom branded emails
in-game Tablet resource
custom login page
community ID
DNS method
pricing
limits
server hosting
custom branding
community ID
Sonoran CAD Custom Login Page Example
Sonoran CAD - Cloudflare DNS Example
Sonoran CAD - Sonoran Servers DNS Example
Sonoran CAD - Custom Login URL