Without www site is not working


I just point my domain and site is working fine with www but without www site is not working.
Please suggest me best solution.



Are you pointing it or parking it?


Thanks for your response.
I pointed my domain with cname.
My domain is hosted on godaddy.
And i am running wordpress on this domain.
Even i past this code in my htaccess

RewriteEngine on RewriteCond %{HTTP_HOST} ^example.com [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301,NC]



Works fine here.

http://dlitefoodproducts.com does not work because it is still pointing to the registrar it seems?

Ensure dlitefoodproducts.com is pointed using ns01.000webhost.com and ns02.000webhost.com on GoDaddy.

Else if you are using the CNAME method ensure you create two records one for WWW and the other record for NONWWW.


Thanks for your response.
Can you please share cname record for non www.



@ or dlitefoodproducts.com points to yourwebsite.000webhostapp.com


Hi, I have the same problem here. www.sanitastargumures.ro is working fine but if I try to access without w w w it taking me to the website but on another page. Can you help me?



Both work fine here :slight_smile: