zoukankan      html  css  js  c++  java
  • DNS ForwardingHTTP Redirect(转) Anny

    From http://www.mtgsy.net/kb/DNS/Advanced_http_redirects_using_the_dns_editing_page

    Whilst the management panel can provide 'simple' web forwarding, there are sometimes cases where more advanced web forwarding is required. Examples are forwarding a naked domain (just the domain name part without the 'www.') to your www.yourdomain.com for example. This, simple as it sounds often causes issues.

    Advanced forwards automatically take care of the issues forwarding sub domains, naked domains, etc.

    To create a redirect record, simply add a new dns record using the 'REDIRECT://' record type. This is a special type of record that configure our web servers to forward your requests to another web site. In the data column put the full url you want to forward to, for example, http://www.mydomain.com. To forward the naked domain, leave the 'name' column empty. To forward a sub domain, put the name of the sub domain in the 'name' column, for example 'support'.

    There are different types of redirects such as 301, 302, hidden frame, etc. In most cases, leave it as zero.

    301 redirect type, moved permanently. We suggest you do not use this without good reason as a 'permanent' redirect is just that. It will be cached by search engines and users browsers directly and you may have no way to disable the forward at a later date as this data is stored locally on end users machines, not on our systems.

    Stealth forwarding - keeps your url in the browser url bar rather than showing the real url

    Explicit forwarding is the default and will make www.yourdomain.com go to www.myotherodmain.com. It will also make www.youdomain.com/subdirectory go to www.myotherdomain.com. If you require that www.yourdomain.com/subdirectory go to www.myotherdomain.com/subdirectory, then do not use explicit forwarding.

    
  • 相关阅读:
    C++各大有名库的介绍——C++标准库
    转换中文数字成为阿拉伯数字
    nutch 写一个indexingfilter插件
    nutch从网页中提取字段并索引_HtmlParseFilter
    java csv操作类
    简单的有限状态机
    getResource()和getResourceAsStream的路径问题
    eclipse修改整个工作空间的编码
    批处理启动tomcat
    java linq
  • 原文地址:https://www.cnblogs.com/limei/p/2022300.html
Copyright © 2011-2022 走看看