Created
December 5, 2020 11:21
-
-
Save mrmmg/db766cdbc3a3813d32c10da6e5f84c3b to your computer and use it in GitHub Desktop.
Create Virtual Host in Xampp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # In this gist we are create a new virtual host for a laravel project on xampp | |
| <VirtualHost *:80> | |
| DocumentRoot "path\to\your\laravel-folder\public" | |
| ServerName yourdomain.local | |
| ServerAlias www.yourdomain.local | |
| </VirtualHost> | |
| <VirtualHost *:443> | |
| DocumentRoot "path\to\your\laravel-folder\public" | |
| ServerName yourdomain.local | |
| ServerAlias www.yourdomain.local | |
| SSLEngine on | |
| SSLCertificateFile "conf/ssl.crt/server.crt" | |
| SSLCertificateKeyFile "conf/ssl.key/server.key" | |
| </VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment