I know I am doing something wrong. But I simply cannot figure it out.
Here's my DNS zone file:
@ IN SOA NS1.DIGITALOCEAN.COM. hostmaster.balajisivaraman.com. (
1382809691 ; last update: 2013-10-26 17:48:11 UTC
3600 ; refresh
900 ; retry
1209600 ; expire
1800 ; ttl
IN NS NS1.DIGITALOCEAN.COM.
@ IN A 220.127.116.11
* CNAME @
Here's my NGINX sites file:
index index.html index.htm;
# Make site accessible from http://localhost/
server_name balajisivaraman.com *.balajisivaraman.com;
Notice that I've mapped all subdomains to the same thing. That is because I cannot get individual subdomains working.
When I try to resolve balajisivaraman.com, here's what I get:
balajisivaraman.com. 619 IN A 18.104.22.168
All is well and good. But when I try to resolve one of the subdomains, here's the result.
balajisivaraman.com. 619 IN SOA NS1.DIGITALOCEAN.com. hostmaster.balajisivaraman.com. 1382451000 3600 900 1209600 1800
Notice that it isn't getting resolved back to the A record properly.
Any ideas on what I have to change?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart.
If you run into issues leave a comment, or add your own answer to help others.