• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer
downloadbytes

DownloadBytes.com

Download Free Software

  • Home
  • Software
    • Antivirus
    • Graphics
    • Internet
    • Multimedia
    • Office
    • Utilities
    • Operating Systems
  • Games
  • Online Games
  • SEO Tools
  • MODS
    • ANDROID
  • Ocean of Games
  • Blog
  • Help

How To Redirect WWW to NON-WWW without .htaccess

Last updated on March 3, 2022 by admin

Redirecting WWW to NON-WWW URLs might be an easy task for professionals but for beginners, it is a very time-consuming and hectic process using a .htaccess file.

Most of the bloggers are new in this field and sometimes they even don’t know where to locate the .htaccess files or how to connect to their server or shared hosting.

Why do you need domain redirection?

WWW and NON-WWW are two different domains for Google. If you do not use redirection it will affect your website SEO and user experience.

Let’s say you have installed your site on http://example.com, Now if a user visits http://www.example.com he will see a “website not found” error because there is no website on www subdomain. To force redirect of www URLs to non-www URLs, it needs a redirection rule so that the user lands on the right destination even if he types www URLs of the website.

redirect domain using DNS

Easy way to achieve domain redirection from WWW to NON-WWW and NON-WWW to WWW.

Important: WWW to NON-WWW redirection will work only if the website is installed on the NON-WWW version.

Now if you have your website installed on the NON-WWW version of the domain and you want to redirect WWW URLs to NON-WWW URLs then follow these steps.

Redirecting WWW URLs to NON-WWW URLs using the DNS setting.

This method is the easiest one because everybody has control of their domain management account and they can easily reach there.

Here I am Taking the Namecheap domain account for demonstration but it can work for all the domain registrars e.g. Bluehost, Hostgator, Godaddy, etc.

  1. Login to your domain registrar account.

    Go to DOMAINS where you can list of domains you own. And click on MANAGE next to your target domain.

  2. Now go to ADVANCED DNS SETTING

    Click on ADVANCED DNS

  3. Create a CNAME record

    HereClick on ADD NEW RECORD
    Under TYPE select CNAME RECORD
    Under HOST type www
    In VALUE type your domain name without www and click save.

Now all the steps are completed please wait for a few minutes as domain propagation takes some time. Don’t forget to clear your web browser cache and cookies before testing redirection.

You can also check your domain redirection using an online tool Whatsmydns. Type your domain with www prefix e.g. www.yoursite.com and select CNAME in the second field. And click on the Search button.

As in my case, you can see in the picture below my www URL is successfully redirecting to the non-www version.

If you have your website installed on the WWW version of the domain and you want to redirect NON-WWW URLs to WWW URLs then follow these steps.

Important: NON-WWW to WWW redirection will work only if the website is installed on WWW version

Redirecting NON-WWW URLs to WWW URLs using the DNS setting.

The First and the Seconds steps are similar to the previous case.

In the third step, you will make some changes

NON-WWW-to-WWW

As shown in the above picture

  1. Edit the A Record, in the HOST field put WWW and in the value field put the IP address of your server.
  2. Create a new CNAME Record and type @ in the Host field and in the value type the domain name as www.yourdomain.com.

Now all the steps are completed please wait for a few minutes as domain propagation takes some time.

Share this:

  • Facebook
  • X

Like this:

Like Loading...

Related

Filed Under: Blog

Reader Interactions

Comments

  1. Alex Shaw says

    June 2, 2020 at 10:28 am

    Hey, admin, that is a great article. Even the few professionals even did not know about that procedure. Thanks for sharing, making the process easy for the beginner like me. And check that tool https://dnschecker.org/ as well for DNS propagation, as an alternative to whatsmydns.net.Must check it out, that tool provides more detailed propagation results.

    Loading...
    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Free WEB Hosting No Credit Card required

100% Free Web Hosting

Important Update

Hello Visitors

Now, We are sharing files through TeraBox. TeraBox is just like google drive or dropbox where you upload and share content. Watch Tutorial

Top Posts

  • Komikus Fasik APK 3.0 Free Download
    Komikus Fasik APK 3.0 Free Download
  • GTA: San Andreas Game Free Download for Windows 10 PC
    GTA: San Andreas Game Free Download for Windows 10 PC
  • GTA Vice City Download For Windows 10 PC
    GTA Vice City Download For Windows 10 PC
  • WWE 2k20 PPSSPP – PSP Apk Iso Download For Android
    WWE 2k20 PPSSPP – PSP Apk Iso Download For Android

Follow us

  • Twitter
  • YouTube

Subscribe to our blog

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 432 other subscribers

Footer

HOME  |   ABOUT  |  EULA  |  DISCLAIMER  |  PRIVACY  |  CONTACT
SSL Secure
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright © 2025 · [Downloadbytes.com]

%d