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?

2 comments

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.

×
1 answer

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

Submit an Answer