rejetto / hfs2

web based file server
https://rejetto.com/hfs
GNU General Public License v3.0
601 stars 131 forks source link

how to setup domain? #32

Closed IAmBlackat closed 2 years ago

IAmBlackat commented 2 years ago

Hi, I have used the custom ip option and added my domain then used cloudflare to show it but i tis not working.

do you know why? I have used port 12400 is it related to that?

Thanks

IAmBlackat commented 2 years ago

I have changed port to default but still the same

rejetto commented 2 years ago

"not working" is not clear enough, please elaborate

IAmBlackat commented 2 years ago

https://prnt.sc/26v4j7v I have hide the server ip with 123.123.123

image

and I did setup sub-domain by adding it in "custom"

IAmBlackat commented 2 years ago

http://rejetto.com/forum/index.php?topic=11504.0

**in HFS (YOU MUST BE IN EXPERT MODE):

Menu > ip adress > custom

*DON NOT INCLUDE "http://" in the box type out the domain name...

Make sure you have proper port forwarding and a staic ip setup to the machine running hfs!**

I did this

rejetto commented 2 years ago

ok but this was the clear part, the unclear part was the "not working". Elaborate that please

IAmBlackat commented 2 years ago

image

this is unclear part, this is what I see on the sub-domain.

rejetto commented 2 years ago

sorry i don't know how cloudflare works. HFS has almost nothing to do with the domain, it just uses it to format the links inside the window. If you don't use it for this purpose then you don't have a reason to tell HFS your domain. HFS works with the ip. You should probably tell cloudflare your ip. The domain will work if the DNS service is correctly configured. In your case, with cloudflare, you may have additional configuration, but it's not in HFS.

IAmBlackat commented 2 years ago

thank you very much for your time, trying to figure this out. If I could, I will write how I did so other poeple can use that.

IAmBlackat commented 2 years ago

figured out, with cloudflaredns updater, I was able to solve and I had issue of port forwaring.