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
Written by Jimmy Hoang
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#