Custom Domains: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
No edit summary
No edit summary
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 Volt app. Your app can have a friendly URL such as
<pre>https://myapp.mycompany.com
<pre>https://myapp.mycompany.com</pre>
-- or even --
-- or even --
mygreatapp.com
<pre>mygreatapp.com</pre>
</pre>
  instead of the name Volt assigns it. You'll need a Volt membership to do this.
  instead of the name Volt assigns it. You'll need a Volt membership to do this.



Revision as of 21:16, 18 May 2017

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

https://myapp.mycompany.com

-- or even --

mygreatapp.com
instead of the name Volt assigns it. You'll need a Volt membership 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.

Here's how to set this up.


1. 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://mycompany.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 NS BASIC uses: <a href="http://blog.nsbasic.com/wp-content/uploads/2017/05/Screen-Shot-2017-05-07-at-11.59.32-AM.png"><img src="http://blog.nsbasic.com/wp-content/uploads/2017/05/Screen-Shot-2017-05-07-at-11.59.32-AM.png" alt="" width="805" height="123" class="alignnone size-full wp-image-3046" /></a> 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.

2. Tell the Dashboard about the new Domain. There's a new button in the Actions section of App page in the Dashboard: <a href="http://blog.nsbasic.com/wp-content/uploads/2017/05/Screen-Shot-2017-05-07-at-2.14.12-PM.png"><img src="http://blog.nsbasic.com/wp-content/uploads/2017/05/Screen-Shot-2017-05-07-at-2.14.12-PM.png" alt="" width="538" height="112" class="alignnone size-full wp-image-3050" /></a>

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: <a href="http://blog.nsbasic.com/wp-content/uploads/2017/05/Screen-Shot-2017-05-07-at-2.21.15-PM.png"><img src="http://blog.nsbasic.com/wp-content/uploads/2017/05/Screen-Shot-2017-05-07-at-2.21.15-PM.png" alt="" width="629" height="95" class="alignnone size-full wp-image-3048" /></a>

3. 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.

Notes

Right now, you can only have one Custom Domain name. We will be increasing that. One of them needs to be designated as your main (or "canonical") domain.

The site you use in step 1 needs to have an SSL certificate. Dashboard creates a secure link. The site it links to therefore also has to be secure. You can get free certificates at <a href="https://letsencrypt.org/">https://letsencrypt.org/</a>.