This solution article goes over how to set up a custom domain for only one organization. If you wish to set up subdomains for multiple organizations on your custom domain, please follow this solution article instead.
With the RSportz platform, your websites URL will be something like http://___.rsportz.com. You may own a domain that you would prefer to use. It is possible to set your domain up as a simple redirect, but it is better to set it up with DNS settings. It is a better way to redirect because it lets you link to pages while still using the custom domain like http://www.cutomdomain.com/pages/contact. If you are only using a simple redirect, your custom domain will always point to the home page. In this tutorial, we'll go over how to set up your custom domains DNS to work as your RSportz domain. We will be using a custom domain hosted by GoDaddy for this tutorial. If you are not using GoDaddy, the form will look slightly different, but the steps should be the same.
Setting your DNS Connections to point to RSportz:
- Go to your domain host. In our example, we will be using GoDaddy. Click on Manage DNS for the domain you want to point to RSportz.
- You need to add 2 Items to your DNS Connections. The first is CNAME. To add it, click "add" at the bottom of your Records list, select CNAME as the type, and put www as the host and points to rsportz.com.
- The second item you need to set on your DNS configuration is an A record that points to RSportz. You should modify the existing A record on your domain settings. Host should be @ or the name of your custom domain. It should point to 126.96.36.199. Click save when you've changed those.
- With these added, your DNS should be properly configured.
Setting your Organization to use your Custom Domain:
- With our DNS Configured, we can go to our organization and log in to configure our custom domain settings on RSportz. When on the admin panel, click organization in the left sidebar to take you to the Organization Edit page.
On the Organization Edit page, there is an option near the top labeled "Use a Custom Domain?" Selecting this option will enable a field for your custom domain. Put your custom domain in the box and click test to make sure everything is configured properly. If the subdomain is correctly configured, click save at the bottom of the page to save. At this point, you should be able to use your custom domain to get to your website. If you get an error saying "This subdomain's CNAME is not pointing to RSportz", then you need to go back to GoDaddy or your DNS provider and check your configuration. Sometimes changes take a long time to propagate over the internet, so if your configuration seems correct but RSportz still says your domain is incorrectly configured, you may have to wait up to a day before your domain forwarding works.
Testing your Custom Domain:
Once all is setup in both your DNS host and your RSportz organization configuration, you should be able to access your RSportz website by both the root and web domains.
- Make sure you are logged out from the RSportz website (allsports.rsportz.com)
- Browse to "allsports.com" should redirect you to www.allsportz.com
- Browse to "www.allsports.com" should open the website as www.allsports.com
- Browse to "allsports.rsportz.com" should redirect you to www.allsports.com
- Log in and you should be redirected to allsports.rsportz.com (logged in and secure HTTPS access to your website can only be achieved through your rsportz subdomain - not available for the custom domain)