I have setup a Kirby site on a domain - let’s say “example.com” - and now the client wants me to setup a second Kirby site on a subdomain - let’s say “sub.example.com”. I’ve setup the second site, and it displays correctly on the frontend. But when I try to access the Panel for the subdomain, it redirects me automatically to the Panel for the main domain!
To explain in simpler terms, this is what’s happening, step by step:
-
in my browser, I type “http://sub.example.com/panel”, and…
-
…the browser goes to “http://example.com/panel/login”
Is there something I need to change somewhere, that I’ve missed? Any guidance would be greatly appreciated!