Apache support Chinese domain name binding, Apache support Chinese domain name binding, teach you how to let Apache support Chinese domain name binding

Source: Internet
Author: User
Summary: Apache support Chinese domain name binding, Apache support Chinese domain name binding, teach you how to let Apache support Chinese domain name binding , according to my actual experience, how to let Apache support Chinese domain name binding, It's absolutely useful for Apache to support the Chinese domain name binding method. Search in Baidu: Chinese domain name online transcoding and then online to Chinese domain name for Punyco I have been in the PHP development site for 5 years
I met a colleague who asked me how I can bind Apache to Chinese domain names, pay Chinese domain name access
And I told him from experience gained and summed up in the actual project that the following are the methods:

According to my actual experience, how to let Apache support the Chinese domain name binding, absolutely works to let Apache support the Chinese domain name binding method.
First in Baidu search: Chinese domain name online transcoding
Then online to Chinese domain name for Punycode Standard code
And then bind the standard code after the transfer to Apache.

For example, we want to configure the nine-way zhai. com, then the escaped code is: xn--sjqz34az72b

Then we need: Add the following code to the Apache config file httpd.conf:


DocumentRoot c:/jiuluzhai.com/(here the C drive is your website program directory)
ServerName www.xn--sjQz34Az72B.com
Serveralias *.xn--sjqz34az72b.com/

Apache support Chinese domain name binding, Apache support Chinese domain name binding, teach you how to let Apache support Chinese domain name binding

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.