Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to set up alias logging and URL forwarding

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article analyzes "how to set up alias logging and URL forwarding". The content is detailed and easy to understand. Friends who are interested in "how to record aliases and URL forwarding settings" can follow the editor's train of thought to read it slowly and deeply. I hope it will be helpful to you after reading. Let's follow the editor to learn more about "how to set up alias recording and URL forwarding".

Usage of ①, alias (CNAME) records:

The domain name resolution in the previous post only talked about the resolution of A records, which are suitable for single-threaded spaces such as Telecom or Netcom. Such spaces generally provide only one IP, so you must use A records for resolution. However, if you buy two-line space in Super Horizon, because there are two IP of Telecom and Netcom in the space, you can achieve high-speed access to different users; then you need to use aliases (CNAME) records when resolving domain names.

Take my super-view space as an example, login space management, you can see the IP information of the space:

From the "IP address" column in the above picture, you can see that in addition to a telecom IP and a Netcom IP, there is also an "intelligent parsing CNAME" address of "yys113.sudu.hi.cn." this address is used to record CNAME.

Going back to the domain name management page, I'll take bbs.6read.com as an example and click "add a new alias" in "CNAME", as shown below:

Enter "bbs" in front of the domain name and the smart CNAME address "yys113.sudu.hi.cn." provided by the space in the "alias host" field. It should be noted here that there is a "." after the CNAME address. Do not forget to enter this point when entering, if you forget it, you may not be able to parse it successfully. Click "submit" when you have finished typing.

After the CNAME record is parsed, go to the place where you buy the space, log in to the space management backend, and bind the domain name to the space. The method for binding the space is the same. As mentioned in the previous post, I will not talk about it here. If there is no way to go to the "novice site to build a daily ②: domain name resolution and binding" to check.

Forwarding and setting methods of ② URL:

What is URL forwarding and what are the benefits of URL forwarding?

Forwarding, as the name implies, is to go to another address. Everyone knows that to open a station, you can access it by entering an address with or without "www" in the address bar. For example, my excellent online bookstore, you enter www.6read.com, you can enter my site, enter 6read.com, you can also visit my website, so this is how to achieve it?

There are two ways to achieve this. The first is to resolve both the domain name with www and the domain name without www into space. But in this way, search engines such as Baidu will regard your two domain names as two sites, so there is complete duplication of content, so it is not very good for SEO.

The second method is to use URL forwarding, for example, to forward my 6read.com to www.6read.com using URL, so that when you access 6read.com, you will jump directly to the domain name with www, and this jump is recognized by the search engine. It solves the problem that the site can be accessed in both ways without duplicating content. URL forwarding can also be used on multiple domain names. For example, Google China's www.g.cn uses url redirection to jump directly to www.google.cn.

Here's how to set up URL forwarding:

1) enter the URL forwarding settings page

2) Click "add new URL retweet record" above

3). Because I want to forward 6read.com to www.6read.com, I leave a blank in the "host name (URL)" column, enter www.6read.com in the "forwarding address" column, select not to hide in "whether to hide", and then click "submit":

In this way, URL forwarding is set up. Enter 6read.com in the browser's address bar after it takes effect, and it will automatically jump to www.6read.com.

Need to explain is "whether hidden", in some places if you choose not to hide the jump after the normal access to the site, but in the address bar will see the address before the jump, hidden later will not; but some places to hide the need to submit applications such as fax, very troublesome; anyway, what we want to achieve is to jump normally, whether to hide does not affect our jump, so there is no need to care too much about whether to hide.

This is the end of the settings on how to record aliases and URL retweets. I hope the above content can improve everyone. If you want to learn more knowledge, please pay more attention to the editor's updates. Thank you for following the website!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report