Error creating virtual host in Apache 2

0

How much do I try to create a virtual host in apache I can not access it

I have already followed the following procedure:

Go to C:\Windows\System32\drivers\etc\hosts

and put 127.1.0.1 meusite.dev

Go to C:\Apache\conf\httpd.conf

and uncomment the line: Include conf/extra/httpd-vhosts.conf

Go to C:\Apache\conf\extra\vhost.conf

and put:

<VirtualHost *:80>
   ServerAdmin webmaster@localhost
   DocumentRoot "c:/Apache2/htdocs/teste
   ServerName  meusite.dev
   ServerAlias meusite.dev
</VirtualHost>

It still did not work.

    
asked by anonymous 22.02.2018 / 13:50

0 answers