xampp how to make virtual host

Опубликовано: 05 Июнь 2026
на канале: Saifi Ahmada
104
0

xampp how to make virtual host

How to make virtual host on xampp (Linuxmint)

1. Edit httpd.conf on /opt/lampp/etc/ as root

this line :
Include etc/extra/httpd-vhosts.conf without # to activate httpd-vhosts.conf file
save httpd.conf file
2. Edit httpd-vhost.conf on /opt/lampp/etc/extra/ as root


wordpress is project folder

save this file

3. Restart apache service

after restart apache, try to access wordpress.localhost

doesnt work

4. Edit hosts file on /etc

it's WORK :)

wordpress.localhost = http://localhost/wordpress/

5. Open virtual host on your browser

ok, success


tanks for watching


saifiahmada.com