You are just now checking this now or it used to work properly but suddenly this is happening?
1. Did you setup your site or some1 else did.
2. Did you setup ur dns A records & Cname records. whereever you bought the domain you need to add cname or a records for www sub domain too to point to u r ip.
- Login to the domain host & check the dns of ur domain, if u have setup cloudflare, check in cloudflare.
3. .htaccess file location.
- open ur webhosting cpanel -> filemanager. htaccess file will b in /home/websitename/public_html folder of ur site.
or
- open filezilla use the info provided by ur webhost, .htaccess file will be in same above location.
|||||||||||||||||
@ 301 redirect for www version to normal version of site in htaccess file looks like this.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.website\.us$
RewriteRule ^/?$ "http\:\/\/website\.us\/" [R=301,L]
|||||||||||||||||