404 error when loading localhost

Problems with the Windows version of XAMPP, questions, comments, and anything related.

404 error when loading localhost

Postby Ollie2022 » 26. July 2022 10:19

Hi Everyone

After solving my ports issue I have created a folder under Hdocs called Joomla4.
When I go into my browser ( Edge) and add
localhost/Joomla 4 I get the following screen

HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

Most likely causes:
The directory or file specified does not exist on the Web server.
The URL contains a typographical error.
A custom filter or module, such as URLScan, restricts access to the file.

Things you can try:
Create the content on the Web server.
Review the browser URL.
Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click here.

Detailed Error Information:
Module IIS Web Core
Notification MapRequestHandler
Handler StaticFile
Error Code 0x80070002
Requested URL http://localhost:80/joomla4
Physical Path C:\inetpub\wwwroot\joomla4
Logon Method Anonymous
Logon User Anonymous

More Information:
This error means that the file or directory does not exist on the server. Create the file or directory and try the request again.
View more information »


I am sure I am doing something wrong.

Also get same message if I click on Admin buttom in xampp mysql

Can anyone help
Thank You
Ollie2022
 
Posts: 4
Joined: 18. July 2022 12:16
XAMPP version: 3.3.0
Operating System: windows11

Re: 404 error when loading localhost

Postby Altrea » 26. July 2022 11:33

Hi,

Ollie2022 wrote:When I go into my browser ( Edge) and add
localhost/Joomla 4 I get the following screen

[color=#FF4000]HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

That is an IIS Error Message. So i assume to solve your issue you have changed the default Ports for Apache?
Please read this: [Q&A] Changing the Apache default ports

There are other strategies to solve the port 80 occupied by IIS issue, Read more about this here:
[Q&A] solving Port 80 in use by PID 4 (HTTP.sys) issue
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11942
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: 404 error when loading localhost

Postby Ollie2022 » 27. July 2022 17:36

Altrea
Hi
Thank you for your detailed reply to my question.
I read both articles and decided to follow the one on keeping the default ports and change the iis.

This worked great, so a very big problem to me sorted and my localhost now working ok
Ollie2022
 
Posts: 4
Joined: 18. July 2022 12:16
XAMPP version: 3.3.0
Operating System: windows11

Re: 404 error when loading localhost

Postby Altrea » 27. July 2022 17:56

Glad you got it solved :D
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11942
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 127 guests