1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Namecheap DNS Setting up redirect

Discussion in 'Web Hosting' started by EvilByte, Jan 7, 2017.

  1. EvilByte

    EvilByte Registered Member

    Joined:
    Jan 19, 2015
    Messages:
    53
    Likes Received:
    14
    Using namecheaps DNS settings how do you set it up so that anyone going to "www.example.com" get 301 redirected to "example.com"

    I've tried several ways and this is what I have currently, but it doesn't see to be working.


    [​IMG]
     
  2. chillerfx

    chillerfx Jr. VIP Jr. VIP

    Joined:
    Mar 20, 2012
    Messages:
    244
    Likes Received:
    65
    Occupation:
    Graphic Designer, Web-dev and Digital Marketer.
    Location:
    Everywhere on net.
    Home Page:
    Its working for me.
    I have tried with my domain to redirect to google.com for testing, its getting redirected when I entered into my domain.
    I think you should change Type "A Record" to "URL Redirect Record".
     

    Attached Files:

  3. bartosimpsonio

    bartosimpsonio Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 21, 2013
    Messages:
    12,492
    Likes Received:
    11,190
    Occupation:
    CHEAP
    Location:
    DATASETS
    Home Page:
    Do it from within cpanel, not from the domains dashboard. It's easy.

    DNS redirects are not 301....they are cnames or such. For 301's better set up .htaccess on the root folder of the source domain.