Without www site is not working


#1

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

Thanks


#2

Are you pointing it or parking it?


#3

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]

#4

http://www.dlitefoodproducts.com

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.


#5

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

Thanks


#6

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


#7

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?

Thanks.


#8

Both work fine here :slight_smile: