NS8: only use path based applications?

NethServer Version: 8
Module: proxy
Hi,
I’d rather avoid using subdomain based acces to my applications, as I need to publicly (DNS) communicate what applications are available on my domain.
While reading documentation, it should be possible to use https://mydomain.com/application rather then https://application.mydomain.com.
Is that indeed possible, so DO NOT register the subdomain in DNS, and ONLY use the pathbased acces? Or should DNS always be there and have path as an EXTRA route?

Thx,
Rolf

When viewing the stated documentation, I see this:

What you request is possible - for any applications / other servers you install, but NOT for applications for NS8 installed via the Software Center.

And this looks like security by obscurity…
You can add in another 100 dns entries - all for non-existing apps, pointing for example to localhost…

:slight_smile:

Have fun!

My 2 cents
Andy

Hi Rolf, as mentioned in the cited documentation, HTTP routes can be based on hostnames and/or URL paths.

Applications usually set up the proxy automatically during the configuration phase. These automatic routes cannot be modified.

Deciding which type of route to set up automatically, and whether other types of routes are supported, is up to the application.

That said, existing NS8 applications generally prefer name-based routes over path-based ones because of the NS8 multi-node feature: you can easily move an application using the Clone/Move feature by simply updating its DNS record.

In NS7, the all-in-one paradigm led to different assumptions and scenarios.

I understand that DNS management might be a new concept to learn, but it is undoubtedly useful for a sysadmin’s work. For those who do not want to learn it, we could consider developing new automation features, though none are planned at this time.

3 Likes