Domain name distribution strategies for large Web sites

Source: Internet
Author: User
Keywords Domain name can in this way this

Intermediary transaction SEO diagnosis Taobao guest Cloud host technology Hall

A mouse site, the current flow is increasing, there are plans to use more than one server plan, but found that some of the domain name strategy, now deal with a little trouble. There used to be a station, the site used by the www.abc.com domain name, where the BBS directory has a forum, this forum now traffic is too large, and the root directory compared to the traffic is much smaller. Now want to move BBS to a new server, find the problem. Now I know there are two ways:

First, this forum will use the bbs.abc.com level two domain name. But such a serious impact on SEO, all previously included in the page will appear path errors. Of course, you can use the 301 turn to solve. But there is another problem. This is the cross domain 301 turn, I need to www.abc.com/bbs all the paths to the bbs.abc.com, a original www.abc.com this server still has to deal with a large number of requests, and may be the search engine that is PR hijacking.

The second is to use Nginx to do load balancing and to process requests through DNS round robin. This is also a problem, one is that I do not have experience in load balancing, there are technical barriers. The second is Nginx, although the load is very good, but it is mainly used to run PHP in the Linux environment. Luckily my website program is PHP. But if someone's station uses a variety of languages, such as the main station is ASP or. NET, but the forum is PHP, then the problem is: asp/.net now although there are components to support running under Linux, but performance is not guaranteed. Similarly, PHP runs under Windows, and performance can be compromised.

Then the site early in the operation, it should be considered the right domain name distribution strategy is very important. Here are some of my thoughts, a summary of my own past lessons:

Use different two-level domain names for different applications or channels

For example, the main station with WWW, forum BBS, blog with blog, News, news, press review page with comment two domain name.

Advantage: This kind of benefit certainly needless to say, basically all portal stations adopt such domain name distribution strategy. A different channel can be divided in a reasonable order to allow different teams to operate separately. Two can be very good management of rights. Prevent individual teams from having too much administrative authority to create security risks. Third, improve the credibility of the channel. For example, Baidu use youa.baidu.com, people know that the domain name is Baidu, the credibility of course higher. In addition, Cross-platform development can also be achieved. For example, the main station and news may be developed with. NET, because IIS seems to have an advantage in processing static pages. Applications such as Weibo can be developed using PHP, Ruby, or Java. Because in the process of Dynamic Web pages, Linux and Unix nginx, Tomcat seems to be strong. But this is only a folk feeling, there is no complete theory to prove. Avoid running programs in the same system through plug-ins in order to be compatible with the program. Microsoft's. NET is certainly more advantageous under his own Windows platform.

Pictures and other accessories using the name of the map bed without cookies

Some people want to ask why not put the picture in img.abc.com such a level two domain name below. The reason for this is that the domain name has cookies, and the attachment only needs a static path. No cookies will be faster. Careful look check: Tencent uses gtimg.com, Sina uses sinaimg.cn, NetEase uses the domain name of netease.com to do the graph bed. And do not use the main station level two domain name. The Rat's dick is crooked now also uses the TU.TI.MU third party domain name to make the graph bed. Separating programs and attachments can reduce HTTP requests to the primary server and make it more important to use for faster web opening

There is no requirement for the choice of the domain name of the graph bed, because it is very difficult to find in ordinary users. Try to find a short point and the main station has a name relationship is good. The domain name short point, may reduce the website code the volume. Although not a few B, but for the station, save the flow is not small.

In addition, if you do not want your pictures and MP3 files are included in the search engine, you can write a ban on spiders under the bed robot, or simply use a non-80 port.

Use absolute path as far as possible in the station

This is the SEO researcher's point of view, there is still debate. And I advocated the code as short as possible, relative path can certainly omission the volume of the Web page. In the development of the program, you can define a domain name variable in advance, when the template is made. If you need to change the domain name of the site, directly modify the variable, and then regenerate the whole station on it.

Advertising platform Domain name choice is also very exquisite drop Oh!

Used to bubble a local forum, ya ads too much, the entire screen full screen flash and GIF, there are window. Later found that all of his ads are placed in the ad.abc.com this two-level domain name, le, direct host in the shielding of this two-class domain name, the world suddenly clean the!gia~gia~

For advertising, but the site of the food and clothing parents, if so easily by K will certainly let the site Lord depressed. Advertising domain I think of two ways, first, and the main station in the same domain name, so he can not be blocked. Or use dynamic technology to randomly change different domain names. This side of the way there are drawbacks, one is your domain name is limited, domain name is also to cost. Second, it may affect the advertising statistics. Comparison rogue approach is not to use the domain name directly using IP, so you can not use the host table to screen, such as telecommunications advertising, is the use of IP, but the solution is still a lot. The most rogue way is the ip+ port. At present, many home routers can only block the specified IP 80 port, if you put in a strange port, you can bypass routing.

More domain name, remember to renew

This is nonsense, but I also encountered, our company has a domain name, is used to do alias resolution, the last large number of customers to reflect the site can not open, the original domain name unexpectedly forget to renew the fee. Fortunately, the domain name redemption period, hurriedly one-time renewal of 10 years.

Shortcomings:

The first is that if you use virtual space in your early Web site, you generally do not support multiple domain names to subdirectories. I suggest that if you want to be big, do not care about this money, buy a VPS or buy a few more space will not invest much.

Second, if you are registered in the domestic domain name, may be a cup, the mouse in the previous blog also mentioned the risk of domestic domain name registration. Many domestic domain registrars do not support you to modify DNS, and their own DNS provides two-level domain name is even limited, if you want to allocate several domain names or do DNS intelligent resolution will be problematic, may need additional input. Do not take love unpatriotic, not support domestic enterprises to say things, I only the case

Related Article

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.