Reputation: 2591
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.
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.
I'd appreciate it if anyone could point me in the right direction.
Upvotes: 0
Views: 659
Reputation: 2591
Finally found the issue. I appears that somehow the \CMSPages\PortalTemplate.aspx
file had become corrupted. I replaced that and I can now visit dev.mydomain.com
with no problems. Thanks for all the assistance.
Upvotes: 2
Reputation: 494
What is the home page you have in the Pages application? For example, if the page name is "Home", then try dev.mydomain.com/home and see if you can see that page. If that page loads up correctly, you can go to Settings application > Settings > Content > Web site content > Default alias path, and select that page to be the Home page. If dev.mydomain.com/home still give you 404, then there is some configuration issues.
Upvotes: 1
Reputation: 6117
Seems like you have the configuration in IIS setup properly. My guess is you most likely don't have your site configured properly within Kentico.
If those are not configured then you will get a not found error.
Upvotes: 1