What do you mean by "sends back bostonbrick.com"? This is what I get:

% dig www.xkmail.com

; <<>> DiG 9.2.2rc1 <<>> www.xkmail.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22566
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;www.xkmail.com. IN A

;; ANSWER SECTION:
www.xkmail.com. 600 IN CNAME xkmail.com.
xkmail.com. 600 IN A 67.127.200.22

;; AUTHORITY SECTION:
xkmail.com. 600 IN NS ns1.xkmail.com.

;; Query time: 279 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Jan 4 15:13:44 2005
;; MSG SIZE rcvd: 80

%

I don't see any reference to "bostonbrick.com" there anywhere.

If you're talking about web server configuration, that's really
off-topic for this list.

- Kevin

Kevin Brown wrote:

>I have a redhat 9 box web server and email.
>one domain is bostonbrick.com, one is xkmail.com
>the ip is 67.127.200.22, it is static
>bind9 listens on 67.127.200.22
>there is ns1.bostonbrick.com listening on 67.127.200.22, bostonbrick.com
>and mail.bostonbrick.com listen on 67.127.200.22 also.
>I just registered xkmail.com and it sits on 67.127.200.22
>Problem is when I type in www.xkmail.com it sends back
>bostonbrick.combut mail works great. Is this a dns issue or a apache issue?
>Another small point is:
>DO I setup ns1.xkmail.com ?
>I thought I would jsut add an "A" record to ns1.bostonbrick.com
>
>[root@ibm root]# cat /etc/bostonbrick.com.hosts
>$ttl 10M
>bostonbrick.com. IN SOA ibm.bostonbrick.com.
>kevin.bostonbrick.c
>om. (
> 2004121604
> 3600
> 5000
> 1209600
> 172800 )
>bostonbrick.com. IN NS ns1.bostonbrick.com.
>bostonbrick.com. IN A 67.127.200.22
>mail.bostonbrick.com. IN A 67.127.200.22
>www.bostonbrick.com. IN CNAME bostonbrick.com.
>bostonbrick.com. IN MX 1 mail.bostonbrick.com.
>ibostonbrick.com. IN PTR bostonbrick.com.
>bostonbrick.com. IN TXT "v=spf1 a mx ptr"
>
>[root@ibm root]# cat /etc/xkmail.com.hosts
>$ttl 10M
>xkmail.com. IN SOA ibm.xkmail.com. kevin.xkmail.com. (
> 2004121604
> 3600
> 5000
> 1209600
> 172800 )
>xkmail.com. IN NS ns1.xkmail.com.
>xkmail.com. IN A 67.127.200.22
>mail.xkmail.com. IN A 67.127.200.22
>www.xkmail.com. IN CNAME xkmail.com.
>xkmail.com. IN MX 1 mail.xkmail.com.
>xkmail.com. IN PTR xkmail.com.
>xkmail.com. IN TXT "v=spf1 a mx ptr"
>
>[root@ibm root]# cat /etc/named.conf
>options {
> directory "/etc";
> pid-file "/var/run/named/named.pid";
> };
>
>zone "." {
> type hint;
> file "/etc/db.cache";
> };
>
>zone "bostonbrick.com" {
> type master;
> file "/etc/bostonbrick.com.hosts";
> };
>
>zone "xkmail.com" {
> type master;
> file "/etc/xkmail.com.hosts";
> };
>
>ANy ideas let me know. I have a virtual server on apache for both
>xkmail.com and bostonbrick.com
>
>
>