DNS forwarding-HTTP redirect

Source: Internet
Author: User
Tags http redirect sub domain

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
'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
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
Www.mytherodmain.com. It will also make
Www.youdomain.com/subdirectory go to www.mytherdomain.com. If you
Require that www.yourdomain.com/subdirectory go
Www.mytherdomain.com/subdirectory, then do not use explicit forwarding.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.