I am adding the following codes to the httpd-vhost.conf file.
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/mmcast"
ServerName mmcast.dev
<Directory "C:/xampp/htdocs/mmcast">
AllowOverride All
Require all granted
</Directory>
Although I can run Apache and MySQL in XAMPP, but I cannot name my vhost.
I got a "Connect failed" message when I call mmcast.dev in a browser.
Do I need to change <VirtualHost *:80>to 81? Because I'm modifying Listen 81 in the httpd file. But I tried to change 80 to 81, but it still does not work.
In the httpd.conf file I am changing like this, but this does not work.
<Directory />
AllowOverride all
Require all granted
</Directory>
In the hosts file
127.0.0.1 mmcast.dev
It only works http://localhost:81/mmcast/. Can anybody help me?