Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
Ixwebhosting host free Independent IP, this for many familiar with his friends should be aware of, but, in the control Panel, whether to add a domain name or a child domain name will create a new directory with domain name, and can not use the same independent IP, And when we need to build more than one site, we know how to use their shared IP.
The risk of sharing IP is very high, how to make greater use of the ixwebhosting provided by the independent IP! That's what we're going to talk about today, Often in the bbs.idcspy.com of the mixed friend should know, Ixwebhosting Linux host support. htaccess This file, then we can use this file to implement binding subdirectories under the same independent IP.
First to add a domain name in the control Panel, to get a home directory and a separate IP, followed by uploading a. htaccess such a file into this home directory. The rules of htaccess are summarized in the following two ways:
Method One:
The first step: in the main directory, to build a directory, and name it, and the site's program files uploaded to the directory;
Step Two: Resolve domain name to independent IP,
Step three: Open the. htaccess file to write the following rules and save the upload to the home directory.
. The htaccess rules are as follows:
Rewriteengine on
Rewritecond%{http_host} ^ (www.)? ixwebhosting.im$
Rewritecond%{request_uri}!^/dz/
Rewritecond%{request_filename}!-f
Rewritecond%{request_filename}!-d
Rewriterule ^ (. *) $/dz/$1
Rewritecond%{http_host} ^ (www.)? ixwebhosting.im$
Rewriterule ^ (/) $ dz/index.php [L]
Method Two: [We take domain name primary domain name as example]
The first step: in the main domain name of this directory, to build a directory, and named (named Dede), and the site's program files uploaded to the directory;
Step Two: Parse this subdomain to independent IP
Step three: Open the. htaccess file to write the following rules and save the upload to the home directory.
Level two subdomain. The htaccess rules are as follows:
Rewriteengine on
Rewritecond%{request_uri}!^/dede/.*
Rewritecond%{http_host} =dede.ixwebhosting.im
Rewriterule ^ (. *)/dede/$1 [L]
So you can realize the binding of ixwebhosting subdirectory, ixwebhosting provide independent IP is very useful, for Do station group webmaster want to have more independent IP, with independent IP will not be afraid of the site will be compromised by other bad sites, through the above methods, You can also take advantage of the shared IP they provide.
Original content, reprint please specify from: www.ixwebhosting.im