[SOLVED] Share links use IP instead of domain?

Questions regarding using the Web File Manager, "File Station" and "File Browser" can be placed here
Forum rules
Synology Community is the new platform for the enthusiasts' interaction, and it will soon be available to replace the Forum.
User avatar
lbutlr
Experienced
Experienced
Posts: 137
Joined: Fri Jul 22, 2016 2:24 am
Contact:

[SOLVED] Share links use IP instead of domain?

Unread post by lbutlr » Fri Sep 14, 2018 6:59 pm

When I create a share link (gofile link) the link directs to my IP address, which means the browser complains about the link being insecure. Is it possible to tell the share system to use my domain name instead so the TLS works properly?

SOLVED: Turning off the QuickConnect feature solves this.
Last edited by lbutlr on Fri Sep 14, 2018 7:25 pm, edited 1 time in total.
“The chief obstacle to the progress of the human race is the human race. ”
― Don Marquis

User avatar
Shadow771
Enlightened
Enlightened
Posts: 471
Joined: Sun Jan 28, 2018 11:48 pm
Location: the Netherlands

Re: Share links use IP instead of domain?

Unread post by Shadow771 » Fri Sep 14, 2018 7:05 pm

When 'File Station' generates a share link, it uses the URL that is specified in: Control Panel -> External Access -> Advanced -> Hostname or Static IP .
Synology DS216+II <--> Synology RT1900AC <--> <site-to-site VPN tunnel> <--> Synology RT1900AC <--> Synology DS118

User avatar
lbutlr
Experienced
Experienced
Posts: 137
Joined: Fri Jul 22, 2016 2:24 am
Contact:

Re: Share links use IP instead of domain?

Unread post by lbutlr » Fri Sep 14, 2018 7:11 pm

Shadow771 wrote:
Fri Sep 14, 2018 7:05 pm
When 'File Station' generates a share link, it uses the URL that is specified in: Control Panel -> External Access -> Advanced -> Hostname or Static IP .
No, it doesn't. I have my hostname in there and it is using the IP address when I send someone a share link.

I found a sort of workaround, I set the share links in file manager settings to always use https. This means the GoFile link doesn't resolve to my domain at all, but there is a delay before the file can be downloaded. I assume this is copying the file to some intermediary location, so it's unlikely to work well for larger files like backup archives or iso images.
“The chief obstacle to the progress of the human race is the human race. ”
― Don Marquis

User avatar
Shadow771
Enlightened
Enlightened
Posts: 471
Joined: Sun Jan 28, 2018 11:48 pm
Location: the Netherlands

Re: Share links use IP instead of domain?

Unread post by Shadow771 » Fri Sep 14, 2018 7:19 pm

lbutlr wrote:
Fri Sep 14, 2018 7:11 pm
No, it doesn't.
Image
Synology DS216+II <--> Synology RT1900AC <--> <site-to-site VPN tunnel> <--> Synology RT1900AC <--> Synology DS118

User avatar
lbutlr
Experienced
Experienced
Posts: 137
Joined: Fri Jul 22, 2016 2:24 am
Contact:

Re: Share links use IP instead of domain?

Unread post by lbutlr » Fri Sep 14, 2018 7:22 pm

https://www.dropbox.com/s/ciy30pb2twzwa ... 4.png?dl=0

Doesn't look at all the same here. DSM 6.2-23739 update 2, DS1815+
“The chief obstacle to the progress of the human race is the human race. ”
― Don Marquis

tb123
Knowledgeable
Knowledgeable
Posts: 359
Joined: Sun Sep 03, 2017 10:55 am

Re: [SOLVED] Share links use IP instead of domain?

Unread post by tb123 » Sat Sep 15, 2018 2:14 am

I’m using a Synology DDNS name, but the share link only shows as a gofile.me as well.

Edit: worked it out, you need to turn off QuickConnect if you just want to use the DDNS name rather than the gofile.me links. I gather if using QC it’s possible this transits Synology’s servers as an intermediary even though I don’t use the relay service
DS916+, 3 x 4TB WD Red, 1 x 4TB WD Purple
UniFi USG, 16 port PoE switch and 4 x AP’s, some Windows, Mac, Android and iDevices

Post Reply

Return to “File Station”