Xampp - errors and settings

Verze:

26. 01. 2023

Zodpovědná osoba:

Dominik Šlechta

The *.test domain is not working

Will the index page appear?

The redirection in the httpd-vhosts.conf file is probably wrong. It could also be that we have the wrong path to this file in the apache configuration files. Another possibility is that the apache server did not load, this can have several causes

Is the browser trying to search for the domain on the Internet?

If so, it means that we haven't added an entry to the windows hosts file, which handles which domains point to localhost.

Server Error

The project has loaded, but it is probably missing the database or there is a bug in it somewhere.

Apache server is not starting

It is recommended to run xampp as administrator.
If apache still does not start, there are several possibilities why this is the case

  • wrong path settings in apache configuration files to xampp folders and files (or you can set absolute paths)
  • wrong domain settings in http-vhosts.conf
  • other

The best way to detect the error is to go to the xampp folder and use the apache and other batch files (apache_start.bat) to start the Apache service, because when we open the console it will show us where the error is.