NameSilo

Need Help with NS and redirection

Located in Webmaster Tutorials started by Steven McEvoy, Apr 22, 2019.

Replies:
19
Views:
510

  1. Steven McEvoy

    Steven McEvoy YLWDots.com

    Posts:
    1,978
    Likes Received:
    987
    I am wondering how you can add like NS1.BRANDBUCKET.COM NS2.BRANDBUCKET.COM and have the domain redirected to that website?

    What do you have to do on your end to just change your domains NS so that they redirect to a certain website page?

    like if you own brandbucket.com and you have multiple domains that you wanted directed to a certain link like hatchcloud.com goes to brandbucket.com/names/hatchcloud
     
    Last edited: Apr 22, 2019
    The views expressed on this page by users and staff are their own, not those of NamePros.
  2. Shamiul Alam

    Shamiul Alam Established Member

    Posts:
    416
    Likes Received:
    249
    DNS setting > Custom DNS > Change Nameserver

    Is it?
     
  3. Steven McEvoy

    Steven McEvoy YLWDots.com

    Posts:
    1,978
    Likes Received:
    987
    @Shamiul Alam No i mean like if you own brandbucket.com and you have multiple domains that you wanted directed to a certain link like hatchcloud.com goes to brandbucket.com/names/hatchcloud
     
  4. NYJimbo

    NYJimbo Domain Re-Animator

    Posts:
    2,176
    Likes Received:
    3,802
    Dont use a known website like BB as your example, it sounds like you are asking for help with brandbucket.
     
  5. MasterOfMyDomains

    MasterOfMyDomains Top Member VIP ★★★★★★★★★★

    Posts:
    4,277
    Likes Received:
    4,034
    Forwarding with NS dns
     
  6. Steven McEvoy

    Steven McEvoy YLWDots.com

    Posts:
    1,978
    Likes Received:
    987
    Yes but how do I do that on the backend?
     
  7. Shamiul Alam

    Shamiul Alam Established Member

    Posts:
    416
    Likes Received:
    249
  8. D Haynes

    D Haynes Top Member VIP

    Posts:
    1,024
    Likes Received:
    1,808
    You can forward a domain using the domains registrar. No need to change the name servers just enter the URL to forward the domain to. If you want the page to have its own name you need to create a new page and name the page as such.

    For example I create a landing page called buggylander and forward the domain to it from the registrar control panel.

    See buggy.co
     
  9. Steven McEvoy

    Steven McEvoy YLWDots.com

    Posts:
    1,978
    Likes Received:
    987
    Cool, Does redirecting your domains to a certain page effect the domain like seo or stats?
     
  10. D Haynes

    D Haynes Top Member VIP

    Posts:
    1,024
    Likes Received:
    1,808
    For the forwarded domain I'm not sure (don't know anything about SEO I'm afraid). You would configure your SEO on the Web page you're forwarding to. So in my example case /buggylander can be optimised with headers, keywords, images etc but as far as I know the SEO benefits you set to that URL will not "rub off" onto the forwarded domain.

    Hope that makes sense lol but again I'm no expert in SEO or Web developing.
     
  11. poweredbyme

    poweredbyme Member VIP

    Posts:
    754
    Likes Received:
    377
    There 2 ways to redirect a domain to a particular page:

    1- If you have hosting account, just add the new domains and point the same folder. If you are using cpanel, add new domains as addon domains and choose the same directory. Add a .htaccess rule, preferably 301 permanent redirect if you care about SEO.
    In this way, all domains will display the same page. Why would you want this way? Well you may have a page template that could be the same for more than 1 domain, say, it can be a contact page or parking page.

    2- Redirect the domain to a page of another domain. You would want this if the redirected page must be or can be used under a particular domain, possibly, which is not under your control.

    How to do it?
    1- If you will use your hosting account you must create .htaccess rule. It's not very difficult. If you want me to post the rule that's needed, I can post here.
    2- Some registrars allow redirection. It's very easy but I don't recommend. I would put domain and hosting stuff in separate entities.
    3- Create a free cloudflare account, go to page rule and choose redirect.
     
    Last edited: Apr 22, 2019
  12. jamesall

    jamesall Upgraded Member Gold Account

    Posts:
    818
    Likes Received:
    678
    You can use CNAME to do redirect via DNS or use a html meta refresh tag to do it with code.
     
  13. poweredbyme

    poweredbyme Member VIP

    Posts:
    754
    Likes Received:
    377
    @Steven McEvoy NS and redirection are irrelevant. You are a bit confused.
    NS does IP resolution only.
    You may do redirection using a DNS record but it's not reliable. Hosting should do redirect.

    @jamesall you too confuse redirection with NS. CNAME is a DNS record, has nothing to with redirection. CNAME will resolve A record IP of another domain or the root.
    Redirection with a html tag is not reliable. I mean it's not friendly with all browsers and bots, say, search engine bots.
     
  14. jamesall

    jamesall Upgraded Member Gold Account

    Posts:
    818
    Likes Received:
    678
    So how do you mean?
     
  15. poweredbyme

    poweredbyme Member VIP

    Posts:
    754
    Likes Received:
    377
    There is a DNS record that does redirection. I don't remember what it is. Because it's not recommended. It's also not available in every NS providers as the technique is deemed unreliable. You might find that special record in some paid DNS hosting services. So it's not widely available. So I made a bit mistake to mention about it as it generated an extra confuse. I would omit that small exemption and would better to say, redirection with NS is impossible.

    Therefore, redirection is done by hosting.. "Hosting" generally refers to HTTP hosting even though there are DNS hosting, Email hosting, Database hosting, etc as well.

    I meant HTTP hosting does redirect. NS can not redirect.

    NameServers host DNS zone only. DNS zone includes IP addresses, mail servers and a few more info. HTTP (aka hosting) is a different engine. NS provides only the info of where the HTTP servers is located, IP address of HTTP server. HTTP does everything else related to webpage browsing. NS's have also their own IP addresses but their IP addresses are hosted by the servers of domain extensions (TLD's), obviously those servers are out of control of domain owners. For instance, if I remember correctly, dot com has 13 servers which resolve IP addresses of NameServers of dot com domains. This is related to DNS, IP resolution chain, is irrelevant to redirection. I just try to explain DNS and HTTP are irrelevant.
     
    Last edited: Apr 22, 2019
  16. jamesall

    jamesall Upgraded Member Gold Account

    Posts:
    818
    Likes Received:
    678
    That's why I suggested a http redirect via a meta tag.
     
  17. poweredbyme

    poweredbyme Member VIP

    Posts:
    754
    Likes Received:
    377
    Meta tag is a technique to redirect. It's just not reliable.
    Also, it has nothing to do with DNS.

    Another technique is to redirect with php. It's very reliable in terms of browser compatibility. But it's risky. Because if php engine goes down, redirection stops even if HTTP engine is running.

    The most reliable technique is to use HTTP engine. .htaccess file is read and processed by HTTP engine. That's why I talked about htaccess rule for redirection.

    The difference between meta tag and .htaccess is that meta tag needs full page browsing, htacess does not require to browse the page. It creates HTTP header response named "Location" like Location: example.com/examplepage. HTTP header response is not HTML. It's read by browsers and bots before HTML. HTTP response header or HTTP header, is the first thing you receive when you try to connect a webpage.
     
  18. poweredbyme

    poweredbyme Member VIP

    Posts:
    754
    Likes Received:
    377
    Absolutely!
    Redirection is a very major SEO factor.
    Redirection affects stats, alexa ranking, SEO ranking and everything except a few things like how you receive-send emails.

    If you want full SEO power to be transferred, use 301 permanent redirection, otherwise you can use 302, temporary.
    301 and 302 are HTTP response codes like HTTP 404 which is the most popular.
    301 responses are cached, 302 are not. HTTP caching is an extremely broad concept to mention here. There is also a thing named search engines cache which is irrelevant to http caching. Other than these 2 differences (cache and SEO power), I don't know any other difference between 301 and 302. So both will function in the same way.

    When you redirect your domain to your another domain, it's usually better to choose 301 as the target domain would benefit from the source domain SEO power. If you redirect your domain to a domain that's not yours, you can use 302 to keep your hard earned SEO power. Search engines don't reinstate SEO power fast after you remove redirection. It's very slow based on my past observations, takes definitely longer than 2-3 months, can take 1 year depending on how many pages and how many inbound links are involved. If you will redirect for some test purposes or only for transferring non-organic traffic, choose 302.
     
  19. Steven McEvoy

    Steven McEvoy YLWDots.com

    Posts:
    1,978
    Likes Received:
    987
    Tha k you all for all the feedback

    I really just want to create a contact page at ylwagency.com/domains.php that I can just send all of my domains for sale too. That way I don't have to have hosting for each domain or have to worry about changing all different domain names and logos.
     
  20. Keral_Patel

    Keral_Patel I'll do it ★★★★★★★★★★

    Posts:
    10,111
    Likes Received:
    1,560
    That is called wildcard dns mapping.

    Usually used by domain parking companies etc.

    It will have to work on both sides like the PHP (OR your choice of scripting language) should detect the $HOSTNAME and print the content accordingly.

    While on named.conf and httpd.conf you can select virtualhost * to point to a particular folder path. Where the script will reside.

    Thanks.
     

Want to reply or ask your own question?

It only takes a minute to sign up – and it's free!

Share This Page

NameWorth
  1. NamePros uses cookies and similar technologies. By using this site, you are agreeing to our privacy policy, terms, and use of cookies.
    Dismiss Notice
Loading...