Question

Cname record is not working

Hi guys

I have lemp stack installed on ubuntu 14.04

i have 2 domains

first one is working perfectly both with “www” and naked url

but for second domain

when i try to reach my website with “www” it shows me blank page

i reach to the website with “www” but cannot reach without “www”

looks like cname is not working

here is my cname record detail link

how can i fix this?

what would be the problem?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

@newcareertime - if you’re using wordpress, then review your site’s URL in the wp-config admin screen to make sure it is prefixed with ‘www’. Otherwise, monitor your nginx logs (both error and access logs) to see which file it is trying to open when attempting to access your www site.