xampp

Access XAMPP SSL Domain from another computer on same network


I followed the tutorial SSL & Domain Tutorial to set up my XAMPP website to have an SSL and domain (site.local). I've also followed Accepted Answer to always have the site.local be https instead of http. These tutorials worked great and I can now type in site.local and the https version of the site appears on my computer.

The problem I'm having now is being able to type in site.local from another computer on the network (not internet) to access the https version website.

I've gone through many tutorials on how to access an XAMPP website from another computer on the network. Some of them include Tutorial #1, Tutorial #2, and many others. I can get them to work; however, they only work with the IP address instead of site.local in the browsers address bar.

The goal is to allow co-workers to be able to type in site.local and have the https version of the website display on their computer. Is there a tutorial that can help me do that? Or am I missing something from the other tutorials?


Solution

  • I found the answer.

    I didn't know I needed to make the change to the hosts file on my co-workers computers (not just the computer with XAMPP). I also didn't know I needed to install the certificate onto their computers as well (not just the computer with XAMPP). Once I did both of those things. my co-workers were able to access site.local with https instead of the IP address and http.