129Views2Replies

Author Options:

How to host virtual domain on xampp without hosts file? Answered

I've somewhat successfully created a virtual domain in xampp. But for that I had to edit the hosts file in my client pc.
So is it possible to create a virtual domain without editing the hosts file?
Maybe by adding the list of ips and domains in the xampp server and adding its ip in the client dns?
I searched a lot finding nothing helpful, so I'm asking here.

Discussions

0
None
Tanmay Das

3 years ago

Thanks,

But is it possible to make a dns server in apache in xampp?

0
None
mh76dk

3 years ago

If you do not want to edit the hostfile I can only think of one other option for ip/name translation and that is running your own dns-server.