120Views2Replies

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.

2 Replies

user
Tanmay Das (author)2014-09-28

Thanks,

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

Select as Best AnswerUndo Best Answer

user
mh76dk (author)2014-09-27

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.

Select as Best AnswerUndo Best Answer