Trying to run vhost on apache and xampp
Posted: 26. July 2019 06:26
Hi Guys,
i am new here and generally i am tryng to run virtualhost on xampp.
What i did is:
1. Went to file httpd-vhosts.conf in C:\xampp\apache\conf\extra and added:
<VirtualHost *:80>
DocumentRoot "c:/xampp/htdocs/dookolapracy"
ServerName dookolapracy.local
<Directory "c:/xampp/htdocs/dookolapracy">
</Directory>
</VirtualHost>
2. Went to C:\Windows\System32\drivers\etc\hosts and added line:
127.0.0.1 dookolapracy.local
3. Went to phpMyAdmin and changed wp-options:
And my website is not available. Why? How can i do this properly?
Please help,
Jacek
i am new here and generally i am tryng to run virtualhost on xampp.
What i did is:
1. Went to file httpd-vhosts.conf in C:\xampp\apache\conf\extra and added:
<VirtualHost *:80>
DocumentRoot "c:/xampp/htdocs/dookolapracy"
ServerName dookolapracy.local
<Directory "c:/xampp/htdocs/dookolapracy">
</Directory>
</VirtualHost>
2. Went to C:\Windows\System32\drivers\etc\hosts and added line:
127.0.0.1 dookolapracy.local
3. Went to phpMyAdmin and changed wp-options:
And my website is not available. Why? How can i do this properly?
Please help,
Jacek