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

Re: [cobalt-users] Thanks & another question



At 11:50 AM 2/2/00  hyrb wrote:
Thanks fo rthe answer on sub-domains. I understand it as in order to have steve.domain.com and domain.com be seperate web
sites they must have dedicated IP addresses even on the raq 3.

I just tried it; here's what works:

I've got a site on my RaQ2 called "www.encopresis.org". It's got a generic html page there; it says:

  Welcome to The Encopresis
  Support Group

   We're still in the process of moving into our
   New home here. Please check back soon.

You can look for yourself. It's at IP# 209.126.157.72 and the <encopresis.org>, <www.encopresis.org>, AND the IP#, all point to the same site, the one one that says "Welcome to The Encopresis Support Group" and has the yellow car silhouette on it. Because of the default header-rewriting rules the RaQ uses, if you use <encopresis.org>, it'll get rewritten and show up in your browser as <www.encopresis.org>. Okay. Just as it should be.

I just set up a site on the RaQ2 for:
  IP#: 209.126.157.72
  Hostname: www
  Domain name: foobar.encopresis.org

I left the RaQ-generated default site there. The one that says "Welcome to the Web Site of www.foobar.encopresis.org".

Then I set up my dns with cnames for <foobar.encopresis.org> and <www.foobar.encopresis.org>; see below:

;       encopresis.org  domain lookup file

@        IN SOA    ns1.ns-one.net. domain_control.ns-one.net. (
            200002021300 ; 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.encopresis.org.

; A
@       IN      A       209.126.157.72
mail    IN      A       209.126.128.251
www     IN      A       209.126.157.72

; CNAME
foobar  IN      CNAME   www
ftp     IN      CNAME   www
www.foobar      IN      CNAME   www

To see the results, just try both <www.foobar.encopresis.org> and <foobar.encopresis.org> in your browser; you'll see that they both go to the same generic RaQ generated homepage, which is in a completely separate website directory on the RaQ. Even though they all point to the same IP#, you DO get the two separate pages. Again, because of the rewriting rules, <either one ends up looking like <www.foobar.encopresis.org> in your browser.

I didn't bother to set up mail, but if I had, all I'd have to do is check the box "Accept Email for Domain", and add an MX record line in the zone file:

foobar       IN      MX      10      mail.encopresis.org.

Clear as mud, right <smile>?

I'll leave the example up for about 48 hours for anyone who wants to look at it <smile>.

I'm having a real problem with either internic or my DNS. A domain I moved to my server from another host will not show. All DNS updates have been done and A records have been created for www.domain.com and domian.com in my DNS.

Print out your zone file (see sample above) and either send it to me privately or post it to the list. Yes, I really need to see the real domain name and zone file to help you debug this one.

Who Is for domain.com comes up with the proper owner & DNS routing. Who Is for WWW.domain.com comes up that the domain is
not registered and asks if I want to....

Did you read the directions for whois? Probably not. It only finds second-level domains (one "dot"). It does NOT find third-level or higher domains (two or more "dots"). So nothing wrong here. <www.domain.com> doesn't show for any domain in the world.

In attempting to access the site. I get the previous host part of the time, my raq, and domain not found at od intervals. I
mailed network solutions last week but that is as effective as mailing Cobalt.

It could be a Network Solutions issue, but I rather doubt it. It's probably a DNS or DNS propogation issue. Send me the stuff I asked for above, and I'll trouble shoot it for you <smile>.

(Gee, I'm getting good at this; Cobalt, do you want to hire me? I'm only $75/hour <smile>.)

Jeff

--
Jeff Lasman, nobaloney.net
<jblists@xxxxxxxxxxxxx>
<www.nobaloney.net>, <www.mailtraqna.com>, <www.email-lists.com>