Thanks for the suggestion. FYI, my actual domain is not sample.com, I
was just using it as an example.
Can you double check that link you included, it's not working and I want
to see the link you refer to.
Best,
Bret
On 8/16/2025 1:22 PM, Daniel Ferradal Márquez wrote:
On 16/8/25 7:04, Bret Stern wrote:
> Have a site www.sample.com > > From within the site I want to a link a subdomain
to a nextcloud > server nc.sample.com on the local lan relative to the
primary www > apache > > server. > > > I can add another router with a
static ip, change dns for > nc.sample.com and link to the subdomain
using that ip, and serve > nextcloud that way. > > But I am wondering
which (Redirect or Proxy) methods would work, to > direct traffic to
the nc.sample.com. Or if it is good or bad > practice. > > Thanks for
suggestions > > Bret > --
Hello,
To me it seems you want to set up a reverse proxy to yout nextcloud
server. If you set to proxy only specific paths it will eve make it
more secure, for example ProxyPass /nextcloud/
https://subdomain-nexcloud.example.com/nextcloud/
---
Daniel
Help at #httpd in Libera.chat