syncloud / platform

Run popular services on your device with one click
https://syncloud.org
GNU General Public License v3.0
401 stars 40 forks source link

Custom DNS #264

Closed cyberb closed 7 years ago

cyberb commented 7 years ago

Currently we use syncloud.it as our main DNS for all the devices and we have ddns service api.syncloud.it to maintain public device IP changes.

Some users would like to have their own DNS name to be used like example.com.

Currently if you create:

  1. A record with your device public IP address for example.com
  2. CNAME *.example.com for example.com

It should allow you to open apps like: nextcloud.example.com Or device itself: example.com

It will not allow you to get real SSL certificate from letsencrypt as device does not know that it needs to use example.com.

What we can do is to add a setting somewhere on access page to override main DNS name to allow real SSL certificates to work.

Also as we are not maintaining example.com it will not update public IP address changes as there is no ddns service (unless user allows example.com to Syncloud to manage, not sure if anyone wants this)

chegeiser commented 7 years ago

This is a big help! A setting to allow override of the main DNS name to change example.syncloud.it to example.com would be fantastic.

Thank you

chegeiser commented 7 years ago

Hi,

This works in getting me to the Syncloud login page - is there a way to do the same thing but point to the applications within Syncloud - like Nextcloud. Ideally something like nextcloud.example.com should take me to the nextcloud login page.

Thanks!

cyberb commented 7 years ago

I am working on this feature right now and I am planning to add custom domain option on activation page. It may take few weeks before I can do proper release with this feature.

chegeiser commented 7 years ago

That's great news! Thank you

cyberb commented 7 years ago

It will look like this:

chegeiser commented 7 years ago

That looks perfect. Does this mean the latest version has this up and running or is it still to come?

Also, will there be any way to convert a project from .syncloud.it to .com?

Thanks!

cyberb commented 7 years ago

I am still working on this, few other things have to be done. It will be in the next release. It is always possible to reactivate a device to another domain from settings.

cyberb commented 7 years ago

Will be available as part of 17.10 release