Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

peffraimidis's avatar

https in windows using Xaamp

Hello everyone, I am using a windows machine for development and I want to boot up my Laravel application in https in order to check my testing bank endpoints to receive payments. I am getting the CORS error of course and I was wondering how to setup Xaamp to force https

Thank you

0 likes
4 replies
peffraimidis's avatar

Thanks! This was perfect. The only thing that was missing for my setup was that I also needed to register the domain name inside the windows hosts file c://windows/System32/drivers/etc/hosts

and add my app like this

127.0.0.1 example-app.test

jlrdw's avatar

Hope all works for you.

1 like

Please or to participate in this conversation.