Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: apache wont start |
|
| Author |
|
mrdj1024
Joined: 03 Apr 2023 Posts: 96 Location: Bridgeton,NJ,USA
|
Posted: Mon 19 Oct '26 14:41 Post subject: apache wont start |
|
|
| hi,i had to reinstall win11 but after all that i installed all the VC packages and mariadb starts but apache wont start,all this is on an external ssd so the factory OS reset didnt touch any files on it,it dont give any errors or anything,what could be the issue? i use wampserver. |
|
| Back to top |
|
Otomatic

Joined: 01 Sep 2011 Posts: 361 Location: Paris, France, EU
|
Posted: Mon 19 Oct '26 14:51 Post subject: |
|
|
Hi,
The Wampserver installation makes entries in the registry and installs services, which have been lost since you reinstalled Windows.
You need to back up your databases and virtual hosts, and completely delete the Wampserver folder before reinstalling Wampserver.
Before doing that, you can try reinstalling the services:
Right-click the Wampserver icon -> Tools -> Reinstall all services. |
|
| Back to top |
|
mrdj1024
Joined: 03 Apr 2023 Posts: 96 Location: Bridgeton,NJ,USA
|
Posted: Mon 19 Oct '26 14:56 Post subject: |
|
|
i got it running by doing afresh copy of apache but now localhost displays these warnings
"The ServerName djswebserver.com is not defined into hosts file.
The path ${INSTALL_DIR}/www for DocumentRoot does not exist (File D:/wamp64/bin/apache/apache2.4.57/conf/extra/httpd-vhosts.conf)
The path ${INSTALL_DIR}/www/ for <Directory ... does not exist (File D:/wamp64/bin/apache/apache2.4.57/conf/extra/httpd-vhosts.conf)"
though the vhosts work just fine. |
|
| Back to top |
|
Otomatic

Joined: 01 Sep 2011 Posts: 361 Location: Paris, France, EU
|
Posted: Mon 19 Oct '26 15:41 Post subject: |
|
|
That’s normal! When you reinstall Windows, the hosts file reverts to its default state without any ServerName entries.
You need to clear it (empty it) and then enter your ServerName entries, starting with localhost.
127.0.0.1 localhost
::1 localhost
127.0.0.1 servername 1
::1 servername 1
127.0.0.1 servername 2
::1 servername 2
... etc. |
|
| Back to top |
|
mrdj1024
Joined: 03 Apr 2023 Posts: 96 Location: Bridgeton,NJ,USA
|
Posted: Mon 19 Oct '26 19:27 Post subject: |
|
|
| thankyou! |
|
| Back to top |
|
|
|
|
|
|