Reply content:
Two methods (the question should be the second one):
1. Domain name jump
This method only Suitable for a small number of jumps, just go to the picture above. Note: the invisible URL is the browser address bar unchanged, that is, the second-level domain name is still displayed, instead of ?id=xxx
2. Domain name pan-resolution, by The HTTP/WEB server is responsible for jumping
The principle is: all second-level domain names are sent to the same server address. After receiving it, the server finds the user ID (uid) based on the second-level domain name (such as zxm), and then returns 302 or js Script to the browser, causing the browser to access the specified address (such as x.com?uid=123)
--PS For more information on this point, you can search: "nginx subdomain redirection"
The above is how to point the second-level domain name to the personal center? For more related content, please pay attention to the PHP Chinese website (www.php.cn)!