Same domain for intranet and wan site

1. The problem I’m having:

I’m not having a problem, but need som help in telling me if what I want to do is possible.

I would like to have one domain that responds with two different pages.
so if the domain is visited from the lan page 1 should be displayed and if visited from wan page 2 should be displayed.

so routing based on source ip I guess?

Yes, you can use the remote_ip matcher to make routing decisions. See Request matchers (Caddyfile) — Caddy Documentation

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.