Using a domain - rejetto/hfs GitHub Wiki

How to use a domain with HFS?

First: be sure that your domain is correctly working.

A domain is just a name/alias for your IP address, so what you need to do is to replace the numeric ip in your HFS address.

Example:

  • your HFS is working on http://1.2.3.4
  • your domain is gnappo.ddns.net
  • then you can access your HFS on http://gnappo.ddns.net

That's it, you are done!

As you can see, it's just another address, you don't need to do anything on HFS. The new address just works, provided that your domain is working correctly.

If you are using a non-standard port, and your address was like http://1.2.3.4:8011, you still need to include it with the domain: http://gnappo.ddns.net:8011

Please, notice that the numeric address still works, you can use both.

The above applies also to dynamic domains like the ones offered by No-ip.

Optional step

You can tell HFS to use your domain when displaying an address.

  1. Go to Admin-panel
  2. click Shared files
  3. click Home
  4. Click on the icon
  1. Enter your domain in the field "Custom IP or domain"
  2. Close

You will notice that on the screen something has changed: the link field now shows

If you are using a custom port, you need to enter it together with the domain, for example: gnappo.ddns.net:8011