wamp alias appearing in localhost instead of another
Posted
by
tournskeud
on Server Fault
See other posts from Server Fault
or by tournskeud
Published on 2013-10-30T15:48:44Z
Indexed on
2013/10/30
15:56 UTC
Read the original article
Hit count: 214
I created various aliases on Wamp to be able to work on my different projects. Strangely, one of my alias is visible when I call the other. They have the same ".conf" file :
Example :
#####
## x.dev
## DOMAINE x
#####
NameVirtualHost x.dev
<VirtualHost x.dev>
DocumentRoot C:/wamp/www/x/
ServerName x.dev
ServerAlias www.x.dev en.x.dev
</VirtualHost>
Also, I have a "Hosts" file including both of the alias.
Wamp config : PHP: 5.4.12 Apache: 2.4.4
Someone have an idea of what is going on ?
Thanks a lot in advance,
© Server Fault or respective owner