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