Skip to content

Instantly share code, notes, and snippets.

@manh-trinhquoc
Last active March 2, 2021 06:16
Show Gist options
  • Save manh-trinhquoc/3a252c2050b1bb21ce0b7e9bda39ddac to your computer and use it in GitHub Desktop.
Save manh-trinhquoc/3a252c2050b1bb21ce0b7e9bda39ddac to your computer and use it in GitHub Desktop.
xampp

Configure Virtual Hosts

C:\xampp\apache\conf\extra\httpd-vhost.conf

<VirtualHost *:80> DocumentRoot "C:/xampp/htdocs/" ServerName localhost <VirtualHost *:80> DocumentRoot "C:/xampp/apps/wordpress/htdocs" ServerName wordpress.localhost

C:\windows\system32\drivers\etc\hosts

127.0.0.1 wordpress.localhost

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment