[Enhancement]: setting to specify external share url/host #2588

Closed
opened 2026-04-25 00:08:42 +02:00 by adam · 7 comments
Owner

Originally created by @vague666 on GitHub (Feb 18, 2025).

Type of Enhancement

Web Interface/Frontend

Describe the Feature/Enhancement

Make it possible to specify the external host in the share url because right now the internal address is used. ABS is installed in TrueNAS so not sure if that matters
The external host would replace http://192.168.1.17:30067 with https://example.com (for example. Making it possible to specify the protocol would be good too)

Why would this be helpful?

It would make it easier to share a resource without having to manually update the share url every time

Future Implementation (Screenshot)

N/A

Audiobookshelf Server Version

v2.19.3

Current Implementation (Screenshot)

Image

Originally created by @vague666 on GitHub (Feb 18, 2025). ### Type of Enhancement Web Interface/Frontend ### Describe the Feature/Enhancement Make it possible to specify the external host in the share url because right now the internal address is used. ABS is installed in TrueNAS so not sure if that matters The external host would replace http://192.168.1.17:30067 with https://example.com (for example. Making it possible to specify the protocol would be good too) ### Why would this be helpful? It would make it easier to share a resource without having to manually update the share url every time ### Future Implementation (Screenshot) N/A ### Audiobookshelf Server Version v2.19.3 ### Current Implementation (Screenshot) ![Image](https://github.com/user-attachments/assets/e25091e5-1461-466f-8c3f-4e15cc1d545a)
adam added the enhancement label 2026-04-25 00:08:42 +02:00
adam closed this issue 2026-04-25 00:08:42 +02:00
Author
Owner

@nichwall commented on GitHub (Feb 18, 2025):

Access ABS externally and it will use the external hostname.

@nichwall commented on GitHub (Feb 18, 2025): Access ABS externally and it will use the external hostname.
Author
Owner

@vague666 commented on GitHub (Feb 18, 2025):

Duh, took a while for me to get that since I don't connect to it externally normally, well, that's one option

@vague666 commented on GitHub (Feb 18, 2025): Duh, took a while for me to get that since I don't connect to it externally normally, well, that's one option
Author
Owner

@nichwall commented on GitHub (Feb 18, 2025):

You don't need to change anything. ABS uses the hostname, port, and protocol to display what the share URL is, so if you access it externally then you will see the share URL displayed the way you are accessing it.

@nichwall commented on GitHub (Feb 18, 2025): You don't need to change anything. ABS uses the hostname, port, and protocol to display what the share URL is, so if you access it externally then you will see the share URL displayed the way you are accessing it.
Author
Owner

@advplyr commented on GitHub (Feb 18, 2025):

Yup we want to use whatever address you are sharing from

@advplyr commented on GitHub (Feb 18, 2025): Yup we want to use whatever address you are sharing from
Author
Owner

@vague666 commented on GitHub (Feb 18, 2025):

I guess my issue is that since I rarely connect externally(today was the first time) it would help to be able to set the displayed host in a setting. But I agree it 'works' but not the way I'd like it to work :) Thanks :)

@vague666 commented on GitHub (Feb 18, 2025): I guess my issue is that since I rarely connect externally(today was the first time) it would help to be able to set the displayed host in a setting. But I agree it 'works' but not the way I'd like it to work :) Thanks :)
Author
Owner

@nichwall commented on GitHub (Feb 18, 2025):

Is there a reason you can't just use the external domain locally? You may need to run a DNS server (such as pihole) if your router does not support hairpin NAT.

@nichwall commented on GitHub (Feb 18, 2025): Is there a reason you can't just use the external domain locally? You may need to run a DNS server (such as pihole) if your router does not support hairpin NAT.
Author
Owner

@vague666 commented on GitHub (Feb 18, 2025):

I launch the webui from the truenas ui, I don't use ABS regularly, but that's on me. I need to change habits :)

@vague666 commented on GitHub (Feb 18, 2025): I launch the webui from the truenas ui, I don't use ABS regularly, but that's on me. I need to change habits :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2588