General discussion

Locked

Virtual Domain and DNS

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
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

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

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" www.seconddomain.ca, the name server that handles 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

Collapse -

Virtual Domain and DNS

by quake In reply to Virtual Domain and DNS

Poster rated this answer

Collapse -

Virtual Domain and DNS

by quake In reply to Virtual Domain and DNS

This question was closed by the author

Back to Networks Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums