Ixwebhosting a method of sharing independent IP with sub domain name

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

I introduced how to choose the station group space, I introduced the ixwebhosting host, the official website introduced 15 independent IP, can actually bind 16 independent IP, because Ixwebhosting uses Linux system, Support for the. htaccess rule, you can flexibly implement any redirection settings, we typically set up a.com 301 Redirect to Www.a.com, today luoping to share a small skill, is the ixwebhosting domain name add and set, which is to make the station group full use of effective resources.

As I said before, the cost is not enough friends can consider to buy ixwebhosting, although the speed is poor, but also often switch, but for independent IP and 3 free domain name conditions, or very suitable for novice webmaster do station group and do the bottom base of pyramid sprocket, do station group for IP has two ways, One is cost-saving: A few hundred domains of IP bindings, one is an IP binding domain name, for the pyramid chain of the higher level of the site is generally such a practice, the advantage is not like the same IP site is k, all the stations under the IP is also implicated, but this kind of station requirements to high, At least in the site layout to consider the template and content, such as personalization. Of course, the strength of the more abundant webmaster, should consider using a VPS or server to use, do station group can not do at home, must be foreign, because the domestic space is required to record the domain name, if the record information is deleted, the consequences are very serious, the United States Silicon Valley server is still good, basic speed of about 200, And more IP resources, a lot of free to send 30, 60 IP.

For the cost-saving type, has always been my to do the station group very important point, consider the number of the group, as far as possible to save the cost is necessary, a long time. For ixwebhosting This host my personal advice is to put on the bottom of the station group (a friend asked me what the bottom is, the bottom is for the pyramid sprocket, after all, the weight of the site should be separated, the higher the weight, the more the position of the upper layer, as the bottom must have a large number to support the top of the outside chain construction, Ixwebhosting support unlimited domain names, then according to the. Htaccess can be flexible implementation of ixwebhosting domain name unlimited add work.

  

Luoping started by adding a subdomain to add the primary domain name of the subdomain, but found that two domain IP is a shared IP, originally my idea is to share with the main domain name is a separate IP, if the Chang to dedicated IP This function switch, it is possible to use an independent IP, But this is too luxurious, then how to implement ixwebhosting sub domain name sharing Independent IP? The following is the set of methods, the truth is very simple:

Ixwebhosting background Domain list management office:

1. Click the Add New Domain button to add a domain name, such as ***.info, if you have added a skip, enter the 2nd step;

2. Into the FTP, in ***.info This folder, set up a folder, assuming your domain name is www.***.info, then the new folder named WWW, (a prefix is actually random, you are in the following this. htaccess rules set a redirection path can be).

3. Make a file such as a. Htaccess, whose rules are:

Rewriteengine on

DirectoryIndex home.html index.html index.php index.cgi

Rewritecond%{request_uri}!^/www/.*

Rewritecond%{http_host} =www.***.info

Rewriterule ^ (. *)/www/$1 [L]

and upload this. htaccess file to the root directory, which is the main folder ***.info directory.

If there are more than one domain name added, then just continue to add the redirect rule for path 301 after the. htaccess rule.

Rewriteengine on

DirectoryIndex home.html index.html index.php index.cgi

Rewritecond%{request_uri}!^/www/.*

Rewritecond%{http_host} =www.***.info

Rewriterule ^ (. *)/www/$1 [L]

Rewritecond%{request_uri}!^/www2/.*

Rewritecond%{http_host} =www2.***.info

Rewriterule ^ (. *)/www2/$1 [L]

Rewritecond%{request_uri}!^/www3/.*

Rewritecond%{http_host} =www3.***.info

Rewriterule ^ (. *)/www3/$1 [L]

Use this method can easily realize unlimited sub domain name sharing Independent IP!

This article by Luo Ping original submission, reprint please retain the copyright. Article Address http://www.luoping.info/zhanqun-seo/324

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.