[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] .org = .com blues



At 10:46 AM 2/24/00 +0000, you wrote:

Not sure if this is the best way to get around this and perhaps someone from
the list can tell us what is. Have you attempted to add both of these
domains to your server via the GUI and then later edit the httpd.conf file
and change the document root of www.domain.org to point to the document root
of www.domain.com

Sure, it'll work. It wastes a lot of system resources, but it'll work. You're setting up a domain on the RaQ you don't need. But it'll work <frown>.

Take a look at my zone file (alright, I'm giving away my secrets for free <smile>):

;mailtraqusa.com
$TTL 86400
@ IN SOA ns1.ns-one.net. hostmaster.ns-one.net. (
            199912111  ; serial number
            43200      ; refresh every 12 hours
            7200       ; retry after 2 hours
            1209600    ; expire after 2 weeks
            43200)     ; default ttl is 12 hours

; NS
@       IN      NS      ns1.ns-one.net.
@       IN      NS      ns2.ns-one.net.
@       IN      NS      ns3.ns-one.net.

; MX
@       IN      MX      10      mail.mailtraqna.com.

; A
@       IN      A       209.126.157.69
www     IN      A       209.126.157.69

; CNAME
ftp     IN      CNAME   www

The key here is that IP# 209.126.157.69 is assigned ONLY to <www.mailtraqna.com> in my RaQ2's gui interface, and that I've used the same IP# in DNS ONLY for <www.mailtraqusa.com>.

Note, though, my default MX record sending mail for mailtraqusa.com to mail.mailtraqna.com for handling. This won't work by default, you have to tell the RaQ2 to allow mail for this domain name. And create a record in virtusertable so each name at mailtraqusa.com will go to that same name at mailtraqna.com.

A lot more elegant than setting up a domain, in my book <smile>.

Jeff

--
Jeff Lasman <jblists@xxxxxxxxxxxxx>