[BlueOnyx:03818] Re: DNS - I clearly don't understand this....
Support
support at etmpacific.com.au
Thu Mar 4 10:03:41 -05 2010
Jeff,
++++++++++++++++
I meant in Site Management -> Services -> Web... bottom field of domain1.com
vsite (web server alias). Put domain1.com.au there. Does that work?
Jeff
+++++++++++++
Okay, I left the first domain alone (because that is the one that anything
unknown defaults to) and on the second domain I added the alias to the
bottom field (how did I miss that..) then I went into DNS for domain2 and
added a forward for the .com.au to the same address as the .com for domain2.
Then I went to the BO machine and did a Dig;
[root at primary ~]# dig vpn.domain2.com.au
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> vpn.domain2.com.au
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13829
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;vpn.domain2.com.au. IN A
;; ANSWER SECTION:
vpn.domain2.com.au. 3600 IN A 192.168.0.200
;; Query time: 4 msec
;; SERVER: 192.168.0.254#53(192.168.0.254)
;; WHEN: Fri Mar 5 00:21:58 2010
;; MSG SIZE rcvd: 52
[root at primary ~]# dig vpn.domain2.com
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> vpn.domain2.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23645
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;vpn.domain2.com. IN A
;; ANSWER SECTION:
vpn.domain2.com. 3600 IN A 192.168.0.200
;; Query time: 4 msec
;; SERVER: 192.168.0.254#53(192.168.0.254)
;; WHEN: Fri Mar 5 00:22:10 2010
;; MSG SIZE rcvd: 49
. (I changed the real domain name to domain2 but the data is real) so I can
see that my DNS on the SBS is good and then I went to my browser and looked
at http://vpn.domain2.com (domain name changed) and I get the correct
website and in the address bar I still see http://vpn.domain2.com BUT when I
enter http://vpn.domain2.com.au the url is rewritten to
http://vpn.domain1.com.
What is really weird is that I have now built a virtual machine here at home
and have setup fake local domains (in my home SBS2003) and I can replicate
the issue here too.
Any ideas where to go from here????
Can I turn on some level of debugging that would be helpful???
Tony
More information about the Blueonyx
mailing list