<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Tony;</div><div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Jeff,<br><br>++++++++++++++++<br>I meant in Site Management -> Services -> Web... bottom field of domain1.com<br>vsite (web server alias). Put domain1.com.au there. Does that work?<br>Jeff<br>+++++++++++++<br><br>Okay,  I left the first domain alone (because that is the one that anything<br>unknown defaults to) and on the second domain I added the alias to the<br>bottom field (how did I miss that..) then I went into DNS for domain2 and<br>added a forward for the .com.au to the same address as the .com for domain2.<br><br>Then I went to the BO machine and did a Dig;<br><br>[root@primary ~]# dig vpn.domain2.com.au<br><br>; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> vpn.domain2.com.au<br>;; global options:  printcmd<br>;; Got answer:<br>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13829<br>;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0<br><br>;; QUESTION SECTION:<br>;vpn.domain2.com.au.            IN      A<br><br>;; ANSWER SECTION:<br>vpn.domain2.com.au.     3600    IN      A       192.168.0.200<br><br>;; Query time: 4 msec<br>;; SERVER: 192.168.0.254#53(192.168.0.254)<br>;; WHEN: Fri Mar  5 00:21:58 2010<br>;; MSG SIZE  rcvd: 52<br><br>[root@primary ~]# dig vpn.domain2.com<br><br>; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> vpn.domain2.com<br>;; global options:  printcmd<br>;; Got answer:<br>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23645<br>;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0<br><br>;; QUESTION SECTION:<br>;vpn.domain2.com.               IN      A<br><br>;; ANSWER SECTION:<br>vpn.domain2.com.        3600    IN      A       192.168.0.200<br><br>;; Query time: 4 msec<br>;; SERVER: 192.168.0.254#53(192.168.0.254)<br>;; WHEN: Fri Mar  5 00:22:10 2010<br>;; MSG SIZE  rcvd: 49<br><br>. (I changed the real domain name to domain2 but the data is real) so I can<br>see that my DNS on the SBS is good and then I went to my browser and looked<br>at <a href="http://vpn.domain2.com">http://vpn.domain2.com</a> (domain name changed) and I get the correct<br>website and in the address bar I still see <a href="http://vpn.domain2.com">http://vpn.domain2.com</a> BUT when I<br>enter <a href="http://vpn.domain2.com.au">http://vpn.domain2.com.au</a> the url is rewritten to<br><a href="http://vpn.domain1.com">http://vpn.domain1.com</a>.<br></div></blockquote></div><br><div>But, did you get directed to the correct website? The rewrite of the URL is normal. Notice when you go to a vsite by domain.com and it is rewritten to <a href="http://www.domain.com">www.domain.com</a>? Those rewrite directives are set in apache conf.</div><div><br></div><div>You can see them in the vhost include conf at /etc/httpd/conf/vhosts. Here is the contents of one of mine (rewrite section <b>bold</b>):</div><div><br></div><div><div>[root@box1 vhosts]# cat site3</div><div># owned by VirtualHost</div><div>NameVirtualHost 75.14.24.114:80</div><div><br></div><div># FrontPage needs the following four things to be here</div><div># otherwise all the vhosts need to go in httpd.conf, which could</div><div># get very large since there could be thousands of vhosts</div><div>ServerRoot /etc/httpd</div><div><br></div><div><VirtualHost 75.14.24.114:80></div><div>ServerName <a href="http://www.macwunderland.us">www.macwunderland.us</a></div><div>ServerAlias macwunderland.us</div><div>ServerAdmin admin</div><div>DocumentRoot /home/.sites/106/site3/web</div><div>ErrorDocument 401 /error/401-authorization.html</div><div>ErrorDocument 403 /error/403-forbidden.html</div><div>ErrorDocument 404 /error/404-file-not-found.html</div><div>ErrorDocument 500 /error/500-internal-server-error.html</div><div><b>RewriteEngine on</b></div><div><b>RewriteCond %{HTTP_HOST}                !^75.14.24.114(:80)?$</b></div><div><b>RewriteCond %{HTTP_HOST}                !^<a href="http://www.macwunderland.us">www.macwunderland.us</a>(:80)?$ [NC]</b></div><div><b>RewriteRule ^/(.*)                      <a href="http://www.macwunderland.us/$1">http://www.macwunderland.us/$1</a> [L,R]</b></div><div><b>RewriteOptions inherit</b></div><div>AliasMatch ^/~([^/]+)(/(.*))?           /home/.sites/106/site3/users/$1/web/$3</div><div>Include /etc/httpd/conf/vhosts/site3.include</div><div># BEGIN WebScripting SECTION.  DO NOT EDIT MARKS OR IN BETWEEN.</div><div>AddHandler cgi-wrapper .cgi</div><div>AddHandler cgi-wrapper .pl</div><div>AddHandler server-parsed .shtml</div><div>AddType text/html .shtml</div><div>AddType application/x-httpd-php .php4</div><div>AddType application/x-httpd-php .php</div><div># END WebScripting SECTION.  DO NOT EDIT MARKS OR IN BETWEEN.</div><div></VirtualHost></div><div># end of VirtualHost owned section</div><div><br></div><div>You could try to comment out that section and see if that changes things, but I'm not well versed in those things, and the rewrite never bothered me... So your mileage may vary, and I'm not by any means suggesting to do it. I HATE breaking stuff!!  ;-)</div></div></body></html>