Answers for "xampp localhost to domain"

1

create custom domain in localhost xampp

//File path: ~/XAMPP/apache/conf/extra/httpd-vhosts.conf
<VirtualHost *:80>
  DocumentRoot "F:/XAMPP/htdocs/"
  ServerName localhost
</VirtualHost>
<VirtualHost *:80>
  DocumentRoot "F:/XAMPP/htdocs/todo-api"
  ServerName api.todo
</VirtualHost>
//Complete Path: C:\Windows\System32\drivers\etc\hosts
127.0.0.1 localhost
127.0.0.1 api.todo #Right Down ServerName
Posted by: Guest on March-23-2022
6

how to use xampp localhost

cd my-project
php -S localhost:8000
Posted by: Guest on June-01-2021

Code answers related to "xampp localhost to domain"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language