Report this

What is the reason for this report?

www prefix not resolving, Nginx config correct

Posted on September 21, 2014
igor

By igor

I am new to zone business stuff. I have domain.com which resolves to my droplet IP and the website loads. However, when I use www.domain.com prefix, DNS does not resolve.

I added CNAME record for www.domain.com which points to domain.com. but it still does not work. When I execute dig on domain.com I get NOERROR, but dig www.domain.com returns status: NXDOMAIN.

I am pretty certain my nginx configuration is good. How do I get the www prefix to work?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.