Forums / Install & configuration / How to run multiple sites on localhost (windows)

How to run multiple sites on localhost (windows)

Author Message

Nicklas Lundgren

Saturday 11 September 2004 1:11:57 am

Hi folks,

I have a problem reaching multiple sites in my local windows machine. I want them all to be accessible by subdomains to "localhost". like:
web1.localhost
web2.localhost

I know how to map this in the ini-files of eZ, and I know how to get it to work with virtual hosts in Apache. However - how do I get my local machine to respond to those url:s?
Is there any way to declare that both web1.localhost and web2.localhost should be mapped to localhost?

Any suggestions is greatly appreciated.

Regards,
/Nicklas

Stian Lindhom

Wednesday 15 September 2004 7:45:21 am

In other words this isn't really related to EZP at all? :)

Try googling for <i>"host file windows"</i> or eventually <i>"windows dns server"</i> if you want to go the "hard way". That should give you all the information you'd need to set this up.

Another totally irrelevant question is, why would someone want to do this...?

Regards,
Stian