alecoscia@gmail.com wrote in news:1180382603.085575.50300
@u30g2000hsc.googlegroups.com:
> for my local tests I need different servername with different
> documentRoot
> so I put this lines in my httpd.conf
>
> NameVirtualHost 127.0.0.1
>
> <VirtualHost 127.0.0.1:80>
> DocumentRoot E:/www/newsite
> ServerName mynewlocalhost
> CustomLog logs/sick-internals common
> <Directory "E:/www/newsite">
> Options Indexes FollowSymLinks MultiViews
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
> </VirtualHost>
>
> but when I put http://mynewlocalhost in my browser I can see
> anything...
> what's wrong?
>
> thanks!
> Alex
>
>
What's wrong is that your computer is trying to resolve "mynewlocalhost"
through DNS. Your fix will be to add the following line in your "hosts"
file.
127.0.0.1 mynewlocalhost
--
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----