I'm new to Kentico and can't seem to get the home page to load correctly, it just returns a 404. I have a site setup in IIS and I have know the app pool has access to the database I'm using for Kentico because when I change it I do see the Kentico error page about SQL access. Once I fix SQL access and reload the page, it shows a 404 again.
For example, if I access dev.mydomain.com in a browser, I get the browser 404. If I access dev.mydomain.com/admin it takes me to the Kentico admin section correctly.
dev.mydomain.com
dev.mydomain.com/admin
There is a site setup in the Kentico settings with the correct domain alias. I have a licence for that alias too. All the tables in the DB appear correct.
What I've tried/checked so far:
Any suggestions would be much appreciated.
It looks like the \CMSPages\PortalTemplate.aspx file had become corrupted somehow. Replacing that has fixed this issue.
Please, sign in to be able to submit a new answer.