Difference between revisions of "Custom Domains"

From NSB App Studio
Jump to navigation Jump to search
 
Line 1: Line 1:
You can now specify your own custom Domain Name for your Volt app. Your app can have a friendly URL such as
+
You can now specify your own custom Domain Name for your VoltServer app. Your app can have a friendly URL such as
 
<pre>https://myapp.mycompany.com</pre>
 
<pre>https://myapp.mycompany.com</pre>
 
or even
 
or even
 
<pre>mygreatapp.com</pre>
 
<pre>mygreatapp.com</pre>
instead of the name Volt assigns it. You'll need a Volt subscription to do this.
+
instead of the name VoltServer assigns it. You'll need a VoltServer subscription to do this.
  
Notice the "https"? It even takes care of making sure there is a certificate in place, so your site is secure. The app is still served from the Volt server, so all the files and MIME types are in the right place.
+
Notice the "https"? It even takes care of making sure there is a certificate in place, so your site is secure. The app is still served from VoltServer, so all the files and MIME types are in the right place.
  
 
Here's how to set this up.
 
Here's how to set this up.
Line 33: Line 33:
 
=== The Dashboard will take care of the rest ===
 
=== The Dashboard will take care of the rest ===
  
You can now type "https://myvoltapp.nsbasic.com" (or whatever you defined) and your app will open. Your users won't notice you are running on Volt.
+
You can now type "https://myvoltapp.nsbasic.com" (or whatever you defined) and your app will open. Your users won't notice you are running on VoltServer.
  
 
=== Appendix: Screen shots from other DNS Providers ===
 
=== Appendix: Screen shots from other DNS Providers ===
Line 47: Line 47:
 
==== GoDaddy with a CNAME domain ====
 
==== GoDaddy with a CNAME domain ====
  
<i>Put the name of your app on Volt into the Points to field.</i> -- Jon
+
<i>Put the name of your app on VoltServer into the Points to field.</i> -- Jon
  
 
[[File:CustomDomainGoDaddyCNAME.png|center|800px]]
 
[[File:CustomDomainGoDaddyCNAME.png|center|800px]]

Latest revision as of 15:14, 25 February 2021

You can now specify your own custom Domain Name for your VoltServer app. Your app can have a friendly URL such as

https://myapp.mycompany.com

or even

mygreatapp.com

instead of the name VoltServer assigns it. You'll need a VoltServer subscription to do this.

Notice the "https"? It even takes care of making sure there is a certificate in place, so your site is secure. The app is still served from VoltServer, so all the files and MIME types are in the right place.

Here's how to set this up.

Set up your DNS service

This will differ depending on who you are using for DNS. Add this to the domain you want to use in the URL: "mycompany.com" in the above example.

You will need to set up an 'A' (for 'Apex') record if you want the domain to point directly to your app. Example: https://mygreatapp.com. The numerical IP address to use (if needed) is 45.79.167.164.

Otherwise, you will need to set up a CNAME record if you have a subdomain pointing to your app. Example: https://myapp.mycompany.com.

Here's how it looks on EasyDNS, the DNS provider we use:

Easydns.png

This specifies the hostname will be myvoltapp.nsbasic.com, which points to volt.live. The following period (".") is important.

It will look different on your DNS provider. If you have difficulties figuring out what to do, check with your provider. It usually takes a few minutes for the change to update through the web.

Tell the Dashboard about the new Domain

Use the Domain button in the Actions section of App page in the Dashboard:

Dashboarddomainbutton.png

Select the Add Domain button. It will add a line to the list of Domains. Enter the name you set in to the CNAME record:

Dashboarddomain.png

The Dashboard will take care of the rest

You can now type "https://myvoltapp.nsbasic.com" (or whatever you defined) and your app will open. Your users won't notice you are running on VoltServer.

Appendix: Screen shots from other DNS Providers

These screen shots will give you some idea of how you need to set up your DNS settings. Have setting from your own provider? Send them along. We will add them to this document!

GoDaddy with an A domain

It is fastest to start from the menu that one gets when one clicks in the upper right corner on one's account name. -- John

Halloran1.png

GoDaddy with a CNAME domain

Put the name of your app on VoltServer into the Points to field. -- Jon

CustomDomainGoDaddyCNAME.png