Categories
PHP / MySQL

Create Your own domain in xampp ?

This post is about Creating virtual hosts locally, i am gonna write step by step procedure to create your own domain names with xampp server.

Here is the steps for create the virtual Host

Note:-Before Making Changes in configuration files. server need to stop after editing complete than start the server.

1 .create a directory with any name.(for example: c:/arjun)

2. Open the file : xampp > apache > config > extra > http-vhost.conf

3. Uncommit for the name virtualHost * :80 in 19th line , like ##NamevirtualHost*:80 here we need to remove ## .

4. Add the following Code

5. Open the file host c > windows > system32 > drivers > etc > hosts
We have to add a server name in the hosts file for example: 127.0.0.1 www.arjun.com

By Arjun

I am Arjun from Hyderabad (India). I have been working as a software engineer from the last 7+ years, and it is my passion to learn new things and implement them as a practice. Aside from work, I like gardening and spending time with pets.

Leave a Reply

Your email address will not be published. Required fields are marked *