skip to Main Content

How to setup Virtual Host on XAMPP? – Apache

I'm using xampp v7.2.29. But I can't setup a Virtual Host(vHost). Here is my code: apacheconfextrahttpd-vhosts.conf <VirtualHost *:80> ServerName localhost DocumentRoot "E:xampphtdocs" <Directory "E:xampphtdocs"> Require all granted </Directory> </VirtualHost> <VirtualHost *:80> ServerName local.demoapp.com DocumentRoot "E:xampphtdocsDemoApp" <Directory "E:xampphtdocsDemoApp"> Require all granted…

VIEW QUESTION

This site can’t be reached – XAMPP ignores custom domain vhosts – Apache

Environment XAMPP 7.2.4 installed on Windows 10 Apache running on ports 80 and 443 Configuration C:WindowsSystem32driversetchosts: 127.0.0.1 www.test.local test.local C:xamppapacheconfhttpd.conf: DocumentRoot "D:/htdocs" <Directory "D:/htdocs"> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Require all granted </Directory> C:xamppapacheconfextrahttpd-vhosts.conf: <VirtualHost *:80> DocumentRoot D:/htdocs…

VIEW QUESTION
Back To Top
Search