Custom Domain & Login Page
Looking to use your own domain name with Sonoran CAD? We've made it easy for you!
Last updated
Was this helpful?
Looking to use your own domain name with Sonoran CAD? We've made it easy for you!
Last updated
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.
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.
This verifies that your Sonoran CAD community owns this domain.
The example below shows the TXT
record verifying the community ID, and cad.sonoranroleplay.com
set to the custom login page.
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
"
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.
"https://sonorancad.com/#/?comid=YOUR_COMMUNITY_ID_HERE"
Add the following to your server.cfg before starting the tablet resource:
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