I have my website in Ubuntu LEMP droplet. I got a problem with this www. CNAME. If I enter the URL www.rohitramesh.com it is redirecting to a different Chinese website which is not at all related to me or my domain. but rohitramesh.com is working fine without the www. CNAME.

Please find me a solution for this. Let me know what i can do to change the CNAME proper which will direct to my Wordpress website.

Thanking you in advance.


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.

Submit an Answer
2 answers

When I visit www.rohitramesh.com, it forwarded me to rohitramesh.com.

You can setup an A record for @ and point it to your IP address.
And create a CNAME record for www. and point it to @.

Delete your client browser DNS can browser cache. This will probably help!