I just did a new install of CF 2021 on a Windows server. All went well, no error messages.
I uploaded a test file and visited it from the local server, I get a 404 error. I checked and CF is running.
The same server has php running on it, and a test php file in the same folder processes.
Before I go poking around in the CF administrator and making changes, did I miss something obvious?
Did you connect CF to webserver with WSCONFIG? 404 error sounds like webserver does not know how to process CFM page.
Hope that helps, Carl.
I did not. I just did. Problem solved. 🙂
OK, another question.
I followed the directions here https://www.cfguide.io/coldfusion-administrator/server-settings-websocket/ and got the main site working.
I tried to add a new site to the server and am getting a 404 error for the new site.
I assume there is a step I missed again?
Hmm, odd update.
I created a CFM test page that just lists the site name and the current date.
If I go here, I get 404
But I can view the page here
index.cfm is listed at the top of my Default Documents in IIS. I suspect that has nothing to do with it though.
what is the default document you have in your webroot. Is it index.cfm or something else?
Not sure if this info helps, the primary site works fine with a similar scenario. That one I can't share a link to, it's behind our firewall. Same server though.