Onenaija Blog

The People's Blog

  • Home
  • Blogging
    • Blogger
    • WordPress
    • Google Adsense
    • Video
  • Computer/Internet
    • Tips & Tricks
    • Mobile Tips/ Tricks
    • Pc Tips/ Tricks
  • Tech
    • Android
    • Facebook
    • Youtube
    • Reviews
  • Others
    • Making Money Online
    • Entertainment
    • Forum
  • About Me
    • Contact Me
  • Hire Me
  • Advertise With Us
  • Guest Post
Home » Tips & Tricks » Pc Tips/ Tricks » How To Mask Domain On Your Own Servers And Distribute Them? [301 Redirection]

How To Mask Domain On Your Own Servers And Distribute Them? [301 Redirection]

April 15, 2013 By: Mehul Mohan46 Comments

Facebook
Twitter
Pinterest
Linkedin
Bufferapp

301 redirects

Well, I guess one day or another you will need to refer your users about your Google+, Facebook, etc. profiles. You may have also seen some big sites like SML using similar method. If you want someone to use your coupon code without revealing it, then this is the best trick you can use. There are thousands of online domains which even ‘pay’ you when you mask your URL’s, but what about masking on your own domain? It can be really fun! Let’s read this post and I will show you how to do this task and why should you do this!

Must Read: How To Speed Up Your WordPress Blog With W3 Total Cache (W3TC)

What Is Domain Masking?

Domain masking is the process of hiding a domain inside another domain to give out either professional look, or fool people (sometimes done by hackers) Domain masking sets either 301 Permanent Redirection to domain or 302 Temporary redirection to domain.

What Is 301 Permanent Redirection And 302 Temporary Redirection?

301 Permanent Redirection means permanently redirecting to a domain without leaving out anything whereas 302 Temporary Redirection leaves down some things for crawlers and search engines to tell them whether it’s a 301 redirection or 302. Let’s take a simple example. You have bookmarked a domain example.com, now the admin changed the domain and set permanent redirection (301) to his domain. Now, the favicon set for example.com will be changed to the favicon set for abc.com. If the author had set 302 redirection, then the favicon for existing users won’t have been changed.

Things Required Setting Up Custom Redirection (Masking):

  1. Domain
  2. cPanel
  3. Domain to be masked
  4. That’s it!

How To Mask Domain Using cPanel?

   

Must Read: How To Make Money Using Nothing More Than Your Email List

  • First of all, log into your cPanel which usually is on http://domain.com/cpanel or http://domain.com:2082
  • After login, you will see a bunch of screen with a lot of icons ready to be clicked.
  • Leave them all and navigate down to Domain Section.
  • Click on Redirects

301 and 302 redirect domain

  • Now, you will get a single big Redirects screen.

domain redirect

1. Type: This will set up type of redirection. 301 is Recommended.
2. Domain: Select your domain on which redirection is to be set. You can create your sub domains also like go.onenaijablog.com
3. Path: These are the words on which visitor visits gets redirected. Like: recommend/googleplus
4. Redirects to: This field has to be filled with the domain on which the above domain must be redirected. Like domain as onenaijablog in 2nd field and google in 3rd field and google.com in third field.
5. Redirection: Simply keep it as default. No need to mess with it.
6. Button: This will create your redirection.

From Editor’s Desk:

Well, you can create as many redirects as you want. This would help you to give your domain a more professional look. Rather than using cheap link shortner you can use this one too which will be secure and 100% trust able as it is hosted on your own custom domain. You can create sub domains to make a redirection domain too.

Must Read: 2013 Affiliate Marketing Strategies

We have talked so much about so much now let’s move the whole story and discussions to you guys. Are you confused with the whole illustrations and would love to ask questions? then please do by using the comment box below and we will surely get back to you.

Would you like to leave a comment, thoughts or even opinion? Feel free to express your thoughts by using the comment box below. Remember that your comments and thoughts are highly welcomed and appreciated.

Please do not forget to subscribe to our feed for your latest updates on the go.

Don't Miss Any Post Again. Subscribe To Our Feed And Be Updated

Enter your email address below:

 

Powered by OnenaijaBlog

Facebook
Twitter
Pinterest
Linkedin
Bufferapp

About Mehul Mohan

This post has been written by Mehul Mohan from MyPremiumTricks. He is a tech guy and love to play with codings. You can visit his site.

Comments

  1. Enstine Muki says

    April 15, 2013 at 10:01 am

    Hey Mehul,
    Good share!
    I have been working in cPanel since 2005 and this is one of the things I use often.
    I’m sure this tut will really help many starters 😉

    Thanks for sharing bro

    Reply
    • Mehul Mohan says

      April 15, 2013 at 1:18 pm

      Thanks Mr. Muki. Keep Visiting! 🙂

      Reply
  2. Bello says

    April 15, 2013 at 10:11 am

    Hello Mehul, good to have you here on Babanature’s blog…
    This post is really technical and might give a non-tech person the chill 😀 Now i just have one question; Can i use this method for URL shortner? and will it make any effect at the long run? I’d like to know all this because i am never a tech guy 😉

    Reply
    • Mehul Mohan says

      April 15, 2013 at 1:20 pm

      Hi Bello! The post is made as simple as it can be! 😉 So, the answer is YES. You can use this service as a link shortner also. It won’t affect your site in any way because it is completely hosted on your servers with Permanent 301 Redirection. Hope that helps. 🙂

      Reply
  3. Harleena Singh says

    April 15, 2013 at 10:29 am

    That’s a nice trick, Mehul. So, you mean we can use this to cloak our affiliate links instead of the plugins we use. Are there any disadvantages of not using the plugin? The advantage I understand is to have total control over the link and not to depend on any external source. Thanks Babanature for this post. 🙂

    Reply
    • Suresh Khanal says

      April 15, 2013 at 12:05 pm

      Harleen, you can use that way but the drawback is you won’t have those important stats to analyze and make further strategies. That’s why we are bound to get some nice plugin such as ‘PrettyLink’ to mask affiliate links.

      Reply
    • Mehul Mohan says

      April 15, 2013 at 1:21 pm

      Hey Harleena! Plugins, one way or another, affect your site in some way. So, it is better to use cleaner ways instead of plugins. It will also work even if you are not on wordpress.

      Reply
    • Koj Tajo says

      April 15, 2013 at 4:30 pm

      Just the same question came up to me like it did to Harleena ma’m. I thought may be some backfiring. Great tricks anyways Mehul and Thanks Mehul for those plugins mentioned

      Reply
  4. Sapna says

    April 15, 2013 at 10:42 am

    HI Mehul,

    This is the best description of 301 and 302 redirect and many of people I know haven’t been able to understand the usage of this one but this is very much important when you’ve multiple domains pointing towards single hosting or moved the stuff from one domain to another.

    Thanks for this great share.

    Sapna

    Reply
    • Suresh Khanal says

      April 15, 2013 at 12:03 pm

      Hi Sapna,

      It is not only to point multiple domain names to one blog but also you can create different subdomains and redirect them to appropriate categories. For example if you have a category ‘Search Engine Optimization’ on your blog example.com, it would be great to display seo.example.com, doesn’t it?

      Reply
    • Mehul Mohan says

      April 15, 2013 at 1:22 pm

      Thanks Sapna! 🙂

      Reply
  5. Nwosu Desmond says

    April 15, 2013 at 11:09 am

    This is indeed a technical article but my main concern is the SEO effect. How will it affect SEO?
    Nwosu Desmond recently posted…Facebook Home for all Android PhonesMy Profile

    Reply
    • Suresh Khanal says

      April 15, 2013 at 12:01 pm

      Nwosu,

      If you create temporary redirect, it will not pass SEO benefits (link juice) to the redirected page. If you want to pass the SEO benefits, you’ll need to set permanent redirection. Hope it helps you to understand.

      Reply
      • Mehul Mohan says

        April 15, 2013 at 1:23 pm

        Thanks for kind responses Suresh. Agree with you.

        Reply
  6. Suresh Khanal says

    April 15, 2013 at 11:58 am

    This is useful tutorial. Still, newbies are scared to change settings from cPanel. However, your illustrations should make them able to create redirected domain names.

    If you are interested to mask your affiliate links and tracking, I recommend using plugins like PrettyLink. You can create short and meaningful URLs to redirect them to affiliate links. The better purpose of this plugin is to get tracking report, the analytics to find which links are performing better.

    Reply
    • Mehul Mohan says

      April 15, 2013 at 1:24 pm

      Yes. One of the benefit of using plugins is that you get flexibility. But this is for those people who don’t use WordPress! 😀

      Reply
  7. anis says

    April 15, 2013 at 2:08 pm

    this is surely a good article great for me thanks for sharing but there are some plugins that do that stuff right ?

    Reply
    • Mehul Mohan says

      April 16, 2013 at 12:56 pm

      Yea. Plugins can also do these tasks. But it is better to know a manual way too! 😉

      Reply
  8. Ryan Biddulph says

    April 15, 2013 at 6:01 pm

    Wow Mehul, learning more and more these days about the tech side of things. I fumbled through masking 4 years ago when I began blogging lol 😉

    Thanks for sharing your insight with us.

    Ryan

    Reply
    • Mehul Mohan says

      April 16, 2013 at 12:56 pm

      You’re Welcome Ryan. Keep in touch. 🙂

      Reply
  9. Rajkumar Jonnala says

    April 16, 2013 at 9:23 am

    great article as usual thanks fort the share keep rocking

    Reply
    • Mehul Mohan says

      April 17, 2013 at 2:12 pm

      Welcome bro! 🙂

      Reply
  10. Evan says

    April 16, 2013 at 10:04 am

    Never ever thought that it is actually possible. Thanks for letting me know about this issue! I learn something more challenging on completely different
    blogs everyday.

    Reply
    • Mehul Mohan says

      April 17, 2013 at 2:28 pm

      Thanks Evan. Everything is possible. At least in technical world! Because impossible is i-m-possible… Haha!! 😀

      Have a nice day!

      Reply
  11. Adrienne says

    April 16, 2013 at 3:54 pm

    Hi Mehul,

    What an interesting post you’ve shared with us. Now I’m going to admit right now that this is over my head. I know how to mask my domain in my domain account and I know how to redirect my affiliate links. I’ve always heard about 301 redirects but I never understood why there were necessary. I get what you’re saying about a coupon code so I guess is you don’t want people to see the actual link then this is why you would do this? Is that right?

    I’m not very technical but I have learned a lot. Mostly stuff that I need to know and this is not one of them. Okay, not yet.

    Thanks for this tutorial though so at least I know how to do this if I want. I’m sure Babanature appreciated this share today.

    You guys have a great week.

    ~Adrienne

    Reply
    • Donna Merrill says

      April 17, 2013 at 12:49 am

      I’m with you Adrienne.

      This is quite above my head too, but reading it through, especially the comment section, I do have a better understanding of it now.

      Interesting and a to-do later on down the road.

      Many thanks Mehul.

      Donna

      Reply
    • babanature says

      April 18, 2013 at 8:50 am

      Hello Adrienne,
      sure i really do love the post. If i must confess, i don’t really know about domain masking till i come across this post 😀 . But i know now that i have some idea about it now. Thanks for the comment and do have a great week ahead.

      Reply
  12. Shameem says

    April 16, 2013 at 4:55 pm

    Nice tips for all newbie as i preferred plugin only for my blogs not yet tried manual one would like to change them as plugin can cause any issues at anytime
    Shameem recently posted…How Does Google Make the Big Bucks?My Profile

    Reply
  13. Sherman Smith says

    April 17, 2013 at 4:17 am

    Great tips for masking your domain. I’ve done this with a couple of websites and it works like a charm! Thanks for sharing Onenaija!

    Reply
  14. Angela McCall says

    April 17, 2013 at 5:54 am

    Hi Mehul,

    I have no idea about “redirects” or “301” nor “masking.” And I have W3 Total Cache and still it confuses the heck out of me. I also used WP Super Cache besides the W3 TC. Just because WP Super Cache is EASIER to use. Whenever I update my blog or post, all I do is delete the cache on WP Super Cache but I cannot do that on W3 TC.

    Besides the masking technical stuff…I’m afraid this is my weakness. The part that I hate about graphic design and/or coding is the technical issue. After all I’m an Artist and not a programmer. Anyway, so far so good.

    Angela

    Reply
    • Mehul Mohan says

      April 17, 2013 at 2:24 pm

      Thanks for sharing your views with us. But I am a little confused. Was that a question, general comment, compliment, or problem?! 😛

      Reply
  15. Dhaval says

    April 17, 2013 at 11:05 am

    Thanks dude! Now I know what is domain masking.. Ideally didn’t knew it! Thanks to you buddy 🙂

    Reply
    • Mehul Mohan says

      April 17, 2013 at 2:21 pm

      I am glad this post helped you out. 🙂

      Reply
  16. Aditya Nath Jha says

    April 17, 2013 at 12:18 pm

    Awesome informative article Mohan bro!! But I wanted to know I have two domains, ONE HAS hosting other doesn’t . Can I redirect the one without hosting to the other one ?

    Reply
    • Mehul Mohan says

      April 17, 2013 at 2:18 pm

      Okay. For that you will need access to your HTML code at least. If you HAVE access to HTML code, then you can set META refresh to redirect domain. If NO, then you can paste a javascript anywhere in your site’s section and it will work. Contact me on email on Google it for more info. 🙂

      Reply
  17. Navneet says

    April 17, 2013 at 1:02 pm

    Hi Mehul ,

    Great Tutorial . You are everywhere man . Wherever I go , I find you . There is a Mehul Mohan guest post each and every where . Keep up the good work mate .

    Regards,
    Navneet

    Reply
    • Mehul Mohan says

      April 19, 2013 at 10:55 am

      Great To See You Here Navneet! Have A Nice Day! 😀

      Reply
  18. Neamat Tawadrous says

    April 17, 2013 at 4:07 pm

    Hi Mehul

    Great tips on masking a domain and about the 301 and 302 redirects.

    I learned something new today as I am new to all these technical stuff and I am not techy myself.

    Maybe I will try it in the future, but it is not in my agenda for now.

    Many thanks Mehul for sharing your technical experience. Also thanks Babanature for this great share in your blog.

    Be Blessed,

    Neamat

    Reply
    • Mehul Mohan says

      April 19, 2013 at 10:56 am

      Thanks a ton for such sweet words Neamat! 🙂

      Reply
  19. Karnal Singh says

    April 17, 2013 at 5:08 pm

    Mehul,I came to know of this issue today only.you have written in very simple language….

    Reply
    • babanature says

      April 18, 2013 at 6:33 am

      Glad you find the article simple enough to comment. do have a lovely week ahead Karnal.
      babanature recently posted…How To Speed Up Your WordPress Blog With W3 Total Cache (W3TC)My Profile

      Reply
  20. I. C. Daniel says

    April 17, 2013 at 7:28 pm

    Hey Mehul,

    I like your website so I subscribed for news. I also liked your facebook fan page.

    Best regards from I. C. Daniel – Romania

    Reply
    • Mehul Mohan says

      April 19, 2013 at 10:58 am

      You’re Welcome Daniel! 🙂

      Reply
  21. Rathnayaka says

    June 9, 2014 at 11:28 am

    What’s the SEO effect of doing these types of redirections ? Because by using some plugins we also can do the same thing. But how do we control the SEO performance of site making redirections using this method ? Yes, it doesn’t need to worry for internal pages, but if we want to links to an affiliate page, we must add rel=’nofollow’ tag. Is there a way to do it ?

    Reply
  22. Christy says

    May 19, 2015 at 11:04 am

    Hello,

    Well I’m also using cpanel since a long time but didn’t tried domain masking yet. I think its very beneficial for numerous thing which is already mentioned in the post.

    Thanks

    Reply
  23. Hemant Kumar Arya says

    April 13, 2016 at 12:15 pm

    Woow Awesome post. This is really helpfull for me. You made my day. I just loved this article. You helped me alot so I just wanna say thanks to you…..that’s all !!
    Thank you.

    Reply

Leave a Reply Cancel reply

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

CommentLuv badgeShow more posts

Search The Blog

DO YOU WANT TO PROMOTE YOUR PRODUCT?

Do you have a product that you would like us to review here at onenaijablog? If you already have a post written for your product, would you like us to publish it to our unique blog readers? Then take the advantage of our low cost plan by . Contacting Us Today

Recent Reviews

  • InnJoo Halo
  • Infinix Hot 2 (X510)
  • InnJoo Fire

RSS Contents From Babanature Blog

  • Don't download latest Windows 10 update if you own one of these popular laptops
  • The new Android 11 features that will actually change your phone
  • The new PlayStation 5 looks like a giant broadband router
  • 5 secure smartphone settings that’ll protect you from hackers
  • Facebook's new tool reveals if you're being scammed

FOLLOW ONENAIJA BLOG

Icon IconIcon Follow Me on Pinterest

Translate to Your Language

Friend Us On Facebook

Copyright © 2021 · Proudly Onenaijablog Re-Touched By, Babanature | Google+