Problems with vhost

  • pangdang
  • Born
  • Born
  • No Avatar
  • Joined: Jul 14, 2008
  • Posts: 1
  • Status: Offline

Post July 14th, 2008, 4:54 am

Someone good a vhosts here in a wamp setup? I`ve changed the urls for security and client informations..

The first site loads perfect even on the IP adress for the server. No problems. But I can`t get the second site to load with the adress http://www.test2.com it just loads the content from the first site

http://www.test1.com - No problems
http://www.test2.com - Loads http://www.test1.com with the test1.com directory

What am I doing wrong??

<VirtualHost *:80>
ServerAdmin hostboss@nnhost.com
DocumentRoot c:/wamp/www/test1.com/
ServerName http://www.test1.com
ServerAlias http://www.test1.com
ErrorLog C:/wamp/www/test1.com/logs/error.log
CustomLog C:/wamp/www/test1.com/logs/access.log common
</VirtualHost>

<VirtualHost *:80>
ServerAdmin hostboss@nnhost.com
DocumentRoot c:/wamp/www/test2.com/
ServerName http://www.test2.com
ServerAlias http://www.test2.com
ErrorLog C:/wamp/www/test2.com/logs/error.log
CustomLog C:/wamp/www/test2.com/logs/access.log common
</VirtualHost>
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post July 14th, 2008, 4:54 am

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 34 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.