Im learning CMS 12. I have a new test site. Its running on Kestrel with a custom url (As opposed to local host). In the CMS on page editing, all pages work fine. But on the website, only the home page works. All other pages return a 404. The code never hits the controller.
Im not entirely sure where to even look, but here is my Kestrel config.
public static IHostBuilder CreateHostBuilder(string args, bool isDevelopment) =>
webBuilder.ConfigureKestrel(serverOptions => serverOptions.AddServerHeader = false);
This ended up having to do with the url configuration. Not sure which setting exactly. I revereted to default behavior (localhost:8001) and the started working my way back.