Apache config

Configuring subdomains in XAMPP

My environemnt At the time of writing, I am running XAMPP 8.0.3 on macOS 11.4 1. Enable Virtual Hosts in Apache Go to /Applications/XAMPP/xamppfiles/etc/httpd.conf and uncomment this line: #Include etc/extra/httpd-vhosts.conf 2. Configuring a new virtual host Navigate to XAMPP’s htdocs and create a directory named subdomains. Create a directory inside subdomains to be the root directory of the new subdomain. You may call it whatever you like, for this example we will call it mysubdomain....

3 November 2021 · 2 min · Toby Scott