How does a level two domain point to a personal hub?

Source: Internet
Author: User

Reply content:

Two methods (the main case should be the second one):

1. Domain Jump

This method is only suitable for a small number of jumps, direct notice: The hidden URL is the browser address bar unchanged, that is, the two-level domain name is still displayed, rather than? id=xxx

2. Domain name Pan-parsing, by the Http/web server is responsible for jump

The principle is: all the two-level domain name sent to the same server address, after the server received according to level two domain name (such as ZXM), the user ID (UID), and then return 302 or JS script to the browser, so that the browser to access the specified address (such as x.com?uid=123)

--ps more information on this point searchable: "Nginx subdomain redirection"


The above is the level two domain name to the personal center how to do? For more information, please pay attention to topic.alibabacloud.com (www.php.cn)!

  • 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.