Results 1 to 3 of 3

Thread: DNS Re-Direction

  1. #1
    Join Date
    Nov 2005
    Posts
    709

    DNS Re-Direction

    It is very rare that you live in one place throughout his life regularly, one is forced to move. It must then prepare the change, and think to prevent all those who knew the old address, so they now send the mail to the correct address. To manage all will be forgotten, we often use a service that redirects Post all mail from the old to the new address for a given period. It is exactly the same on the web: it is rare that a web page never changes address (URL). Sometimes, it's a site that changes of address. These perpetual changes hinder users who have trouble finding their favorite pages (bookmarks), they also pose problems for search engines that scour the web to index pages.

    It is a controversial technique called, in which the unanswerable query to a DNS - server the address of a page with answers to the server is used by the operator. The typed the address bar of a browser in URL is used to resolve a IP address sent to a DNS server. Only then may take the request to the appropriate server. When the user but a false, nonexistent or even prescribed URL in the address bar of your browser is usually sent back an error message (NX domain), as the HTTP status code is displayed 404th An error is the operator of the server but sending a valid address it operates from a web page answered. The displayed web page usually contains the possibility that the requested address extracted terms using a search engine to look for. At the same time trying to match the concepts of display advertising - in addition to general advertising, of course - and so contribute to the income of the operator.

    You need to have two URL's pointed to a Web site? Use the redirect. Joined by more than one domain name for one site is not something unusual. Especially if you put your webpage on the resources of your ISP, or any community, so that you are given a subdomain, in other words - a long and inconvenient to memorize the address. In this case, will redirect. Its future visitors will tell you the new, relatively short and simple address. You need to have two URL’s pointed to a Web site? Use the redirect. Joined by more than one domain name for one site is not something unusual. Especially if you put your webpage on the resources of your ISP, or any community, so that you are given a subdomain, in other words - a long and inconvenient to memorize the address. In this case, will redirect. Its future visitors will tell you the new, relatively short and simple address.

    How his works?
    • Domain Name System (Domain Name System (DNS)) is the glue that binds subdomains and IP addresses. Here's how it works.
    • You enter the URL in your browser. Browser accesses a local DNS-converter on your computer with the requirement to report IP address corresponding to, for example, www.techarena.in
    • Local DNS-converter queries the DNS server of your internet service provider (ISP).
    • DNS server at your ISP starts at the top of the hierarchy of domains, asking nameserver root, as presented in the DNS. DNS server your ISP will be sent the DNS information.
    • DNS server of your provider checks dns-abc.com and receives back the IP address for the website.
    • Provider's server transmits the IP address of your local DNS.
    • Your DNS resolver passes the address of the browser.
    • Finally, the browser connects to a website by IP address and requests the content page.

    Redirection :

    There are three basic ways to redirect: using HTML and JavaScript embedded in a web page, invisible redirection or redirection through DNS. (Note, if you have your own web server or have access to the settings of your web hosting, you can include a redirection using the software Web server.) To set up a redirect, you can use a special construction requirements of HTML, or JavaScript command. This redirect may work slightly slower, the code redirects should be included in every Web page you want to redirect the visitor, and it requires participation of the browser. Despite these drawbacks, this method is good because that is completely under your control and does not need to reconfigure the software on the server, access to which your provider can not provide.

    Types of redirection :
    • Redirection server
    • Redirects client

    Redirection server

    Server redirects are fully administered by the web server, not client software (browser). If you want to optimize your SEO only use server redirects.

    There are two types of redirection server:
    • The final and permanent redirects (301)
    • Temporary redirects (302)

  2. #2
    Join Date
    Nov 2005
    Posts
    709

    Re: DNS Re-Direction

    301 redirect (permanent redirect)

    If you move a page within your site everlastingly, it must use a 301 redirect. In PHP, for example you can use the permanent redirection code at the top of the PHP file located at the top have changed. Search engines interpret well the redirect, and automatically update their index, replacing the old with the new URL. That said it may take several weeks before it is taken into account.

    302 redirect (temporary redirect)

    If a momentary page, directory, or even a site is inaccessible (e.g. for maintenance), it may be exciting to define a redirection to another page (or site) the time that upholding is completed. Search engines do not interpret all this redirection in the same way. Normally, they do not remove from their index page that is redirected, by cons they correlate with the target page features the homepage. This can have regrettable consequences, since a malicious webmaster can execute on its website a 302 redirect to a page popular, wait for the 2 engines consider URLs correspond to the same page, and then removing the redirect to implement a standard page, while enjoying some of PageRank and backlinks (incoming links) of the page hijacked.

    This page hijacking problem is well known SEOs and search engines. Yahoo has been using since the summer of 2005 a parade whereas a 302 redirect pages between 2 different domains should be interpreted as a 301 (which eliminates any incentive for hackers).

    Numerous webmasters are using 302 redirects in mind to do well, and then they should use a 301. This applies, for example, very many books, which instead of making connections "hard" to the listed sites (a hard link is a link formal and non-redirect), make 302 redirects. Then there is sometimes confusion on some engines from the landing page on the directory and that the designated site (in the search results, the site URL of the directory may replace that of the designated site).

    Beginners Methods:

    HTML tags

    Meta descriptor is used to insert proprietary information about a web page and has attributes that can affect the behavior of the browser. The required attribute is called http-equiv, with the help it can give the browser to reload the page. Another content attribute allows you to specify additional options such as a new address to be loaded instead of user specified.

    Example :
    Code:
    <meta http-equiv="refresh" content="0;url=http://www.techarena.in/new_page.html">
    number 0 in the content attribute indicates the time in seconds to reload the page, url as you probably guessed - the new address to which you want to redirect. Meta descriptor should be placed in the head section web page. To redirect visitors to create the most concise web page to read:

    Example :
    Code:
    <html> <head> <title> Redirecting </ title> <meta http-equiv = "refresh" 
     content = "0; url = http://www.techarena.in/new_page.html"> </ head> <body> </ body> </ html>
    Do not forget to replace the URL in your preferred.

    JavaScript

    A simple script, such as indicated in the above example, after this paragraph operates more efficiently than the tag meta, because the script redirects the visitor to the new address as soon as the browser has this script.

    Nevertheless, some users may simply be JavaScript disabled, which makes it impossible to script processing. Therefore, to achieve the most effective results compose a web page which would be both a script and meta tags. Place the JavaScript code in the head section before the meta tag.

    Example :
    Code:
     <script type="text/javascript">
     <! - Window.location = "http://www.techarena.in/" //--> </ script>

  3. #3
    Join Date
    Nov 2005
    Posts
    709

    Re: DNS Re-Direction

    Invisible redirection

    Invisible redirection uses frames. The correct site is loaded, as it were in another Web page (frame). As a result, in the process of walking the user on the links site in the address bar of your browser (address frame) does not change. All modern browsers support frames, but this is not the best solution though, if only because the frames can interfere with effective indexing of web pages by search engines.

    Most hosts provide DNS redirection invisible in addition to a diversion, you can find the necessary settings by logging into your account on the DNS server.

    Multiple domains

    If you need to, say, at the addresses http://forums.techarena.in and http://www.techarena.in loaded the same site, and it does not happen any redirects to http : / / www.techarena.in on http://forums.techarena.in or vice versa, you need to configure your hosting service to work with multiple domains.

    To send multiple domains on the same physical site, please contact a representative of your host and tell him to any domain names you wish to have access to the site. On most web hosting services, you can even write their own domain names that you want to send to this hosting. And the host needs to know its IP address in order to know where to direct inquiries. This IP address need to enter in the settings of your domains to the DNS server. To domain names have earned is sometimes necessary to wait until the day - until all nameserver reload the table match.

    The process can help inexperienced users, the correct URL to be found. In applications that are speculating on the error message to give appropriate instructions, but it leads to confusion.

    More Methods of DNS Redirection :

    HTTP redirection is the best method, regardless of the change made from the time the web host allows this kind of thing. I will detail the Apache HTTP redirection, one of the most popular web servers, based on my official documentation of Apache alias , and the reference codes HTTP.

    The Apache. Htaccess

    Everything works with one or more text files. Htaccess Apache to be placed in the site tree. Warning, this is a text file (like HTML files) to upload via FTP in ASCII mode to your web server. Beware also of slashes / for all the characters are important. See my documentation on how to configure Apache2 with PHP for more information about enabling. Htaccess
    Permanent change in domain name

    This is where the site is completely identical, but changes his main address. The goal is to redirect all the old addresses to the news.

    Redirect permanent / http://forums.techarena.in/. This code sends a HTTP 301 redirection Permanent that informs browsers and search engines especially, need to update their links to the new address. Note that a simple change of host to keep the same domain name does not require any HTTP redirection.

    DNS Redirection and SEO :

    With multiple domain names, SEO efforts are scattered. It's like if a company gave several names and had a day under one a day under the other. When you're a small publisher of a site then that is a personal initiative, was significantly less than average to come forward. However, many smaller sites are tempted to buy several domain names. The idea is not to get stung a good name by a competitor is trying to attract people to their site via its URL. Most Internet search bar and confusing navigation bar. When you type a name into a navigation bar, the browser redirects to the something.com if it is available.

    For the robots of search engines interpret correctly the redirection, it is necessary that the HTTP header sent with the page matches the status of the latter (the HTTP header is sent by the web server with every page, it contains information on page used by browsers or robots. If a page has changed location in your site, must make the old URL redirects to the new by using an HTTP header that specifies that this page has changed address permanently (code 301 or "permanent redirect") . This will allow the robot not to index the next old URL, and update its index by assigning the new URL to the page. If you do not redirect from the old URL, the robot will get a 404 and will not necessarily aware of the new address. Under these conditions, you may stay for months with a site poorly indexed.

    Moreover, the name of the URL is a factor taken into account for the positioning in the search result. Building on psychological lille.com is an excellent example of the effectiveness of a URL for SEO i.e. Site = one main domain name. You can buy several domain names, but it must rely on only one, i.e. direct its traffic and connect only one name. There are two reasons for that. The first is, as we have seen, it is already difficult to make a name, so make several names is a Herculean task requiring huge resources The second is to avoid duplication of content. The engines concerned as cheaters sites that offer the same content on different pages or different sites. Hence the importance of good management of DNS.

    A website is constantly changing. It is almost certain that one day or else your web pages change addresses or disappear. To avoid losing the benefit of a referral, you should definitely consider these redirects and notify search engines the new situation. Then everything should be fine especially if you use 301 redirects properly, as described in this article. Your situation, in terms of SEO should not suffer and the transition be smooth. More reason to exercise the utmost care with this procedure.

Similar Threads

  1. Replies: 7
    Last Post: 14-01-2012, 01:04 PM
  2. Fishville has no direction
    By Oms-waroop in forum Video Games
    Replies: 6
    Last Post: 03-03-2011, 02:58 AM
  3. Wrong Airflow Direction of CPU Fan
    By Neutrals in forum Hardware Peripherals
    Replies: 4
    Last Post: 06-12-2010, 01:27 PM
  4. SB Audigy SE issue as no bass re-direction
    By Abhidi in forum Portable Devices
    Replies: 4
    Last Post: 10-09-2010, 10:32 PM
  5. Mouse moving vertical direction
    By Dolla in forum Hardware Peripherals
    Replies: 3
    Last Post: 28-02-2009, 06:49 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,287,878.71834 seconds with 17 queries