Last Updated: February 25, 2016
·
629
· hmphu

A batch script to create domain for XAMPP on windows

I made this script to help you create a virtual domain easier.

It is a batch file that prompt you to input name then it will create a folder with the same name in htdocs folder. It also add config in httpd-vhosts.conf and modify the hosts file.

Default suffix is "dev" so if you enter jimmy as folder name you will have new virtual domain http://jimmy.dev You can change the suffix by edit line 5 in this script: SET SUFFIX=dev

Script is put on my github: https://github.com/hmphu/XAMPP-Domain-Creator