Use site.local Instead of localhost/mysite on apache without using docker or DDEV
Let’s suppose you’re using Apache on your local machine and you want to visit your PHP project using something like http://site.local instead of http://localhost/mysite. You’re not using Docker, DDEV, or any container tools, just plain XAMPP or Apache on Linux. Here’s how to set it up: Map your custom domain locall Edit your /etc/hosts file: Continue reading “Use site.local Instead of localhost/mysite on apache without using docker or DDEV”