Problems with vhost

  • pangdang
  • Born
  • Born
  • pangdang
  • Posts: 1

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 30 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.