Thank you very much ! Your video is very clear and straightforward. Only one thing that caused my XAMPP to refuse restarting is the ServiceAlias tag from the .conf file. Only after I removed it - my server restarted successfully and my website is now HTTPS ! Thanks again ! 🙂
It's not actually secure. The browser says it's not secure and doesn't allow me to open the page unless I click Continue, which can be a really big problem.
This is the best tutorial for this topic! Specially since I have watched and followed different methods from other tutorials, this one is the easiest and most accurate!!! THANK YOU VERY MUCH!!! :) :)
22:56:58 [Apache] Error: Apache shutdown unexpectedly. 22:56:58 [Apache] This may be due to a blocked port, missing dependencies, 22:56:58 [Apache] improper privileges, a crash, or a shutdown by another method. 22:56:58 [Apache] Press the Logs button to view error logs and check 22:56:58 [Apache] the Windows Event Viewer for more clues 22:56:58 [Apache] If you need more help, copy and post this 22:56:58 [Apache] entire log window on the forums
Question1: How to create server.key? Because I've to provide server key to third party to issue the SSL for xampp. Question2: After apply SSL certificate, when I tried to open my website on another computer on the same network with xampp iP and path, the SSL will not work. Any idea how we can access the website from other computer and still SSL works. Answer would be appreciated.
Error: Apache shutdown unexpectedly. 11:32:55 AM [Apache] This may be due to a blocked port, missing dependencies, 11:32:55 AM [Apache] improper privileges, a crash, or a shutdown by another method. 11:32:55 AM [Apache] Press the Logs button to view error logs and check 11:32:55 AM [Apache] the Windows Event Viewer for more clues 11:32:55 AM [Apache] If you need more help, copy and post this 11:32:55 AM [Apache] entire log window on the forums getting this error
simply just go to xampp folder in your file explorer open mysql folder change data name into data old save it... and then after , create a new folder name it as data and save it... now just in mysql folder again and open backup folder and copy all backup data form there and paste it on newly created data folder.. now just go to data old direction and just copy your data only mysql and wordpress data (localhost) and ib1data file too..and paste it on newly created data folder... now run again mysql and apache it will work again.
6:36:53 PM [Apache] Error: Apache shutdown unexpectedly. 6:36:53 PM [Apache] This may be due to a blocked port, missing dependencies, 6:36:53 PM [Apache] improper privileges, a crash, or a shutdown by another method. 6:36:53 PM [Apache] Press the Logs button to view error logs and check 6:36:53 PM [Apache] the Windows Event Viewer for more clues 6:36:53 PM [Apache] If you need more help, copy and post this 6:36:53 PM [Apache] entire log window on the forums
el error esta en el archivo httpd-xampp.conf, asegúrate de haber escrito bien los virtualhosts, tendrías que tener algo así: DocumentRoot "C:\xampp\htdocs" ServerName localhost ServerAlias *.localhost DocumentRoot "C:\xampp\htdocs" ServerName localhost ServerAlias *.localhost SSLEngine on SSLCertificateFile "crt/localhost/server.crt" SSLCertificateKeyFile "crt/localhost/server.key" yo use "localhost" como dominio, cámbialo por el que vos quieras.
when i was add virtual host that details in httpd-xampp.conf file then our apache shutdown unexpectedly......i was add port as a 8080,4433 ...because I was change port setting previously
I can't reach mySQL after enstablishing the SSL certificate for my localhost. The dashboard works fine using the new domain. But when i tried to click phpMyAdmin it shows Error 404 - Object not found!!!
Hello Sir, I couldn't get the local site certificate on my folder. i got server key file only.. what i do the next step to get local site certificate.Kindly help me on it..
Hi , Everyone Please note this only work with in you System (Same where the Cert is Install ) , its not going to show any green pad in your local network for that you need to import the cert every individual local System. Still this Video is very informative. Thanx a lot to Prolong Services.
Not sure if the structure changed, but this didn't work for my version. The Apache server would not start and would not produce any errorlogs that were useful. Removing the code mentioned at the bottom of E:\XAMPP\apache\conf\extra\httpd-xampp corrected the issue for me. I will stop back if another tutorial leads me the same way with different results...
Thanks for the video. We appreciate all that you do.💖 I have a problem with the solution provided above, It's not working on Firefox it only works on chrome. What could be the reason. I appreciate your quick response.
Add multiple domain names with a single space in server name category and link them all in with your local dns through windows 32 option as described above
it is https but now it says Forbidden You don't have permission to access this resource. Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12 Server at localhost Port 443
i got "Error: Apache shutdown unexpectedly. 19:02:40 [Apache] This may be due to a blocked port, missing dependencies, 19:02:40 [Apache] improper privileges, a crash, or a shutdown by another method. 19:02:40 [Apache] Press the Logs button to view error logs and check 19:02:40 [Apache] the Windows Event Viewer for more clues 19:02:40 [Apache] If you need more help, copy and post this 19:02:40 [Apache] entire log window on the forums" Please help me
In the currently (Oct. 16, 22) offered GDrive file, there is an error! DocumentRoot "F:\xampp\htdocs" ServerName sites.local ServiceAlias *.sites.local SSLEngine on SSLCertificateFile "crt/sites.local/server.crt" SSLCertificateKeyFile "crt/sites.local/server.key"
ServerAlias and not ServiceAlias! For me it worked with the following code. DocumentRoot "C:\xampp\htdocs" ServerName sites.local ServerAlias *.sites.local DocumentRoot "C:\xampp\htdocs" ServerName sites.local ServerAlias *.sites.local SSLEngine on SSLCertificateFile "crt/sites.local/server.crt" SSLCertificateKeyFile "crt/sites.local/server.key"
Hi, I am getting the following error rrafter installing 11:25:17 AM [Apache] Error: Apache shutdown unexpectedly. 11:25:17 AM [Apache] This may be due to a blocked port, missing dependencies, 11:25:17 AM [Apache] improper privileges, a crash, or a shutdown by another method. 11:25:17 AM [Apache] Press the Logs button to view error logs and check 11:25:17 AM [Apache] the Windows Event Viewer for more clues 11:25:17 AM [Apache] If you need more help, copy and post this 11:25:17 AM [Apache] entire log window on the forums
Thank you very much ! Your video is very clear and straightforward. Only one thing that caused my XAMPP to refuse restarting is the ServiceAlias tag from the .conf file. Only after I removed it - my server restarted successfully and my website is now HTTPS ! Thanks again ! 🙂
Yes it's actually ServerAlias the conf in the description is wrong also struggled with that one
Oh sorry thats my mistake, i ll add latest working conf file
Where is that ServerAlias .config file?
@@rabiariaz5320 It's a ServerAlias tag inside the config files from the /xampp/apache/conf/extra directory. This is not a file name.
You saved my life.
I subbed and liked it before even watching lol
Very clear tutorial many thanks brother couldn't have done it without you :)
Thank u so much, plz share with your friends as well 🤗🤗
Thanks bro this helped me for my assignment for doing HTTP basic auth over SSL.
This is beautifully done!!! Thank you very much!!!👌
Thank your for this video.... Money save.. love you bro.. 2000❤
It's not actually secure. The browser says it's not secure and doesn't allow me to open the page unless I click Continue, which can be a really big problem.
Thank you for a great video. Tried your solution and all works as a charm. many thanks!
finally, I found a guy who can help me. Thank you so much!!
Very useful! Thank you so much for the video!!
Glad it was helpful!
Live long Indians! you guys are the best
This is the best tutorial for this topic! Specially since I have watched and followed different methods from other tutorials, this one is the easiest and most accurate!!! THANK YOU VERY MUCH!!! :) :)
It's already working on my PC, although I am unsure why the facebook instant app seems to be not working.
Please help....
what problem are you facing?
Thank you very much, the most straightforward and precise video for the topic
thank you so much worked in first attempt
very clear.. many thanks!
did it work?
ohh godd!!! it worked thank you soo much!!!
you saved my day also my friend! Thanks a lot!!
Glad to hear that!
STILL WORKS! awesome for the guides
very helpful , detailed explaination
Glad it was helpful!
Thank you so much for this tutorial. It really helped. Just subscribed. :)
someone tried to sell me this ssl for local machine 😂
Thanks for this tutorial this is the best!
Thank you so much, i m making videos on other xampp related issues and tutorials
great work thanks , When you try to access your local site from another device on the network,Is he working in local network ????
thanks wangu. you helped a lot
You are welcome, please keep supporting
Thank you man you saved us
I almost search documents, nothing working, now it working fine for me, Thank you so much for support...
22:56:58 [Apache] Error: Apache shutdown unexpectedly.
22:56:58 [Apache] This may be due to a blocked port, missing dependencies,
22:56:58 [Apache] improper privileges, a crash, or a shutdown by another method.
22:56:58 [Apache] Press the Logs button to view error logs and check
22:56:58 [Apache] the Windows Event Viewer for more clues
22:56:58 [Apache] If you need more help, copy and post this
22:56:58 [Apache] entire log window on the forums
Question1: How to create server.key? Because I've to provide server key to third party to issue the SSL for xampp.
Question2: After apply SSL certificate, when I tried to open my website on another computer on the same network with xampp iP and path, the SSL will not work. Any idea how we can access the website from other computer and still SSL works.
Answer would be appreciated.
My bro, you are the best
Error: Apache shutdown unexpectedly.
11:32:55 AM [Apache] This may be due to a blocked port, missing dependencies,
11:32:55 AM [Apache] improper privileges, a crash, or a shutdown by another method.
11:32:55 AM [Apache] Press the Logs button to view error logs and check
11:32:55 AM [Apache] the Windows Event Viewer for more clues
11:32:55 AM [Apache] If you need more help, copy and post this
11:32:55 AM [Apache] entire log window on the forums
getting this error
same condition here bro. We need help!
How it get solved?
simply just go to xampp folder in your file explorer open mysql folder change data name into data old save it... and then after , create a new folder name it as data and save it... now just in mysql folder again and open backup folder and copy all backup data form there and paste it on newly created data folder..
now just go to data old direction and just copy your data only mysql and wordpress data (localhost) and ib1data file too..and paste it on newly created data folder...
now run again mysql and apache it will work again.
@@AjGaming-vx2pc Did not work
Sir, I can't start Apache after I stopped it. I already use your file but still don't want to start again
It's Cool! Respect ))
It works like magic. Thank you sir.
this is work, thank you!!
You're welcome!
best tutorial, thanks a lot
Thankyou brother .you make it easy
Thank You Thank You
You are very welcome
@@LearnPainLess 🤗
Thank U bro u save my time
Thanks for save my life
6:36:53 PM [Apache] Error: Apache shutdown unexpectedly.
6:36:53 PM [Apache] This may be due to a blocked port, missing dependencies,
6:36:53 PM [Apache] improper privileges, a crash, or a shutdown by another method.
6:36:53 PM [Apache] Press the Logs button to view error logs and check
6:36:53 PM [Apache] the Windows Event Viewer for more clues
6:36:53 PM [Apache] If you need more help, copy and post this
6:36:53 PM [Apache] entire log window on the forums
Check the apache log to find the issue
el error esta en el archivo httpd-xampp.conf, asegúrate de haber escrito bien los virtualhosts, tendrías que tener algo así:
DocumentRoot "C:\xampp\htdocs"
ServerName localhost
ServerAlias *.localhost
DocumentRoot "C:\xampp\htdocs"
ServerName localhost
ServerAlias *.localhost
SSLEngine on
SSLCertificateFile "crt/localhost/server.crt"
SSLCertificateKeyFile "crt/localhost/server.key"
yo use "localhost" como dominio, cámbialo por el que vos quieras.
Does this issue Resolved? how
Uninstall Xampp From C Directory AND Install it in F Directory Then follow this step will resolve your problem
@@parceus4758 yes to the virtual host tag there is serverAlias not serviceAlias that you copied from
Works like a charm
Thank you man :)
is it necessary to name it site.local? can i name it just the normal name like 'localhost?
when i was add virtual host that details in httpd-xampp.conf file then our apache shutdown unexpectedly......i was add port as a 8080,4433 ...because I was change port setting previously
Is it applicable for "Intranet" system?
where about 100 or more devices are connected on same network?
getting this errror in error log "server certificate does NOT include an ID which matches the server name"
I can't reach mySQL after enstablishing the SSL certificate for my localhost. The dashboard works fine using the new domain. But when i tried to click phpMyAdmin it shows Error 404 - Object not found!!!
Can u show me exact error?
is this still working? i tried it but it still says not secured in my localhost url
mine not working when i change the port 80 to 8080 and 443 to 4433. please help
Hello Sir, I couldn't get the local site certificate on my folder. i got server key file only.. what i do the next step to get local site certificate.Kindly help me on it..
I'm getting an error "Don't have permission t access this resource
very very very helpful video
The system cannot find the path specified.
here is issue with me.. can you help me regarding this?
Hi , Everyone Please note this only work with in you System (Same where the Cert is Install ) , its not going to show any green pad in your local network for that you need to import the cert every individual local System.
Still this Video is very informative.
Thanx a lot to Prolong Services.
Hi there, great video, it helped me a lot thanks!!! 👏👏👏👏👏👏
You're welcome!
Gracias, saludos desde PERU🇵🇪
Not sure if the structure changed, but this didn't work for my version. The Apache server would not start and would not produce any errorlogs that were useful. Removing the code mentioned at the bottom of E:\XAMPP\apache\conf\extra\httpd-xampp corrected the issue for me. I will stop back if another tutorial leads me the same way with different results...
Same here
apache error in xammp
Error: Apache shutdown unexpectedly.
This may be due to a blocked port, missing dependencies,
Thank you!
You're welcome!
Nice Tutorial ❤
Amazing.
Thanks for the video.
We appreciate all that you do.💖
I have a problem with the solution provided above, It's not working on Firefox it only works on chrome.
What could be the reason.
I appreciate your quick response.
Can i use port forwarding on that domain
Amazing tutorial. After searching for so long ultimately found a easy solution. But one query how can we do this for multiple domain names.
Add multiple domain names with a single space in server name category and link them all in with your local dns through windows 32 option as described above
If anyones error are showing, Apache not Start , I fixed this error... Now working fine..
it worked. thanks
How can I enable real ip as well ?
how to on public domain ?
Thanks man!
If i use the ip address of the secured machine in another machine to access the website will it be secured
hello, how i want to change the site. because i want to secure my website but its using localhost too. can u help me please sir
after doing you staff the apache unable to start ?!
If i enable port fordwarding will the https still work on my external static ip address?
i cant start apache after i stopped it
i've updated "httpd-xampp.conf" file please use that latest config and this will resolve your problem, sorry for the inconvenience
it is https but now it says
Forbidden
You don't have permission to access this resource.
Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12 Server at localhost Port 443
Have you followed all steps??
i have error when i run the Apache, can you help me please in last step
Thank you sir.
on my side, it says only in IE this site is encrypted. but on CHORME it says not secuured.
can we use this ssl when we access from phone browser in the same network ?
have you tried? or is it only working with https only on current machine?
after doing this my apache is not starting. I don't know why
Uninstall Xampp From C Directory AND Install it in F Directory Then follow this step will resolve your problem
What to do if i am using IIS server for local host sites ?
Bro i want to open a html file through https localhost what to do after this
Place that html file in htdocs folder
if i add line http-xamp . The apache is not starting
After adding your code to the apache httpd-xamp file, apache on xampp doesnt work anymore. Removing the added code solved the problem.
Same problem
I have a question, is it possible to share this setup website Localhost XAMPP with custom domain and SSL/HTTPS via WIFI to other devices?
Yes you can share on local wifi
After generate ssl my apache is not working on xamp ??
There was typo mistake in attached file, now its fixed
It's already working on my PC, although I am unsure why the facebook instant app seems to be not working.
Please help....
i got "Error: Apache shutdown unexpectedly.
19:02:40 [Apache] This may be due to a blocked port, missing dependencies,
19:02:40 [Apache] improper privileges, a crash, or a shutdown by another method.
19:02:40 [Apache] Press the Logs button to view error logs and check
19:02:40 [Apache] the Windows Event Viewer for more clues
19:02:40 [Apache] If you need more help, copy and post this
19:02:40 [Apache] entire log window on the forums"
Please help me
same
My Apache shutdown unexpectedly. Can someone please help me?
i've updated "httpd-xampp.conf" file please use that latest config and this will resolve your problem, sorry for the inconvenience
In the currently (Oct. 16, 22) offered GDrive file, there is an error!
DocumentRoot "F:\xampp\htdocs"
ServerName sites.local
ServiceAlias *.sites.local
SSLEngine on
SSLCertificateFile "crt/sites.local/server.crt"
SSLCertificateKeyFile "crt/sites.local/server.key"
ServerAlias and not ServiceAlias!
For me it worked with the following code.
DocumentRoot "C:\xampp\htdocs"
ServerName sites.local
ServerAlias *.sites.local
DocumentRoot "C:\xampp\htdocs"
ServerName sites.local
ServerAlias *.sites.local
SSLEngine on
SSLCertificateFile "crt/sites.local/server.crt"
SSLCertificateKeyFile "crt/sites.local/server.key"
non effect in internet
you didnt put all stuffs at description
Oh sorry, can u let me know what is left? So i can add in description
we will type them don't worry
Hi, I am getting the following error rrafter installing
11:25:17 AM [Apache] Error: Apache shutdown unexpectedly.
11:25:17 AM [Apache] This may be due to a blocked port, missing dependencies,
11:25:17 AM [Apache] improper privileges, a crash, or a shutdown by another method.
11:25:17 AM [Apache] Press the Logs button to view error logs and check
11:25:17 AM [Apache] the Windows Event Viewer for more clues
11:25:17 AM [Apache] If you need more help, copy and post this
11:25:17 AM [Apache] entire log window on the forums
Thanks
Apache service is unable to start after doing all of this stuff
I have tried to create SSL, But I am getting error of "The system cannot find the path specified."
i've updated "httpd-xampp.conf" file please use that latest config and this will resolve your problem, sorry for the inconvenience
What the process of PositiveSSL?
Good
Thanks buddy
Hey bro, when trying to run sites.local with https, it says certificate is not valid.
Same issue man
Helpful
🇸🇦🇸🇦🇸🇦
Hi . Thanks for the tutorial.
Note: In firfox I find ssl insecure. But it is true in Chrome
hello from VN, can you help me to solve the problem ? i do the same as the video but it's not work
What problem are you facing?
Na Índia existe programadores muito bons. Eu sou do Brasil, mas admiro os programares indianos mais do que os programadores brasileiros.