Forum Moderators: phranque

Message Too Old, No Replies

same content for both domains

         

jjersey

6:24 pm on Jul 21, 2005 (gmt 0)

10+ Year Member



Hello All,

I have finally set up apache server on port 81 and it is accessible to the outside world.

However.......both of my domains show the same content, which is not what I designated in my virtual host set up. The top host takes precedence regardless of how I set things up.

Any suggestions?

Thanks,
-j

this is the current state of my virtual host set up:

NameVirtualHost *:81

<VirtualHost *:81>
DocumentRoot "/Users/josh/Sites"
ServerName www.example.com
<Directory "/Users/exmp/Sites">
allow from all
Options +Indexes
</Directory>
</VirtualHost>

<VirtualHost *:81>
DocumentRoot "/Users/tiff/Sites"
ServerName www.quux_foo.com
<Directory "/Users/quux/Sites">
allow from all
Options +Indexes
</Directory>
</VirtualHost>

[edited by: jdMorgan at 7:23 pm (utc) on July 21, 2005]
[edit reason] Removed specifics. Please see TOS. [/edit]