General discussion

  • Creator
    Topic
  • #2314636

    Virtual Domain and DNS

    Locked

    by quake ·

    I am trying to get my web server set up so I can host many virtual domains. I’ve got it set up on the web server and I know it works.
    I am unsure of the dns, though.
    I have my domain registered and I am using granitecanyon.com to keep my dsn record.
    My domain works. I went and created a new record for the second domain referencing to my static IP, but it does not work. The script is just like for my own domain.
    I deleted the entry and added a CNAME entry within my domain’s record:
    host.mydomain.ca. IN A x.x.x.x
    http://www.seconddomain.ca. IN CNAME host.mydomain.ca. ; EXTREF
    mail.seconddomain.ca IN CNAME host.mydomain.ca. ; EXTREF
    After I did that and submited the changes,
    nslookup would resolve seconddomain.ca to my ip
    now a daylater it does not work again.
    This is what I get when I do nslookup:
    Served by:
    – RS0.NETSOL.COM
    216.168.224.206
    ca
    – MERLE.CIRA.ca
    64.26.149.98
    ca
    – RELAY.CDNNET.ca
    192.73.5.1
    ca
    – CLOUSO.RISQ.QC.ca
    192.26.210.1
    ca
    – NS1CIRA.ca
    129.33.164.84
    ca

All Comments

  • Author
    Replies
    • #3461237

      Virtual Domain and DNS

      by cg it ·

      In reply to Virtual Domain and DNS

      where are you adding the A record for the second domain your DNS server or granitecanyon.com? The domain registry for the second domain you are trying to setup a web site for has to have an authoritative name server listed for the domain name just like your own domain name. That authoritative name server points the second FQDN to your IP address just like your domain name so that when name servers broadcast “anyone know “who is” http://www.seconddomain.ca, the name server that handles http://www.seconddomain.ca can provide the pointer to your IP address. Adding CNAME or Host name records as part of your domain won’t suffice. Also in IIS, you will have to use host header and “all unassigned IP addresses” to provide different web sites for different domians.

      you can add host name records for third tier domains [such as host.mydomain.com ]. A host name record with Granitecanyon [or the use of a wild card {*.mydomain.com } name record can work in providi

    • #3527313

      Virtual Domain and DNS

      by quake ·

      In reply to Virtual Domain and DNS

      This question was closed by the author

Viewing 1 reply thread