Custom domain name mapping to user profile.
问题 Currently, user profiles are in the format of website.com/username which is fine. However, some heavier users wish to use custom domain names. This is similar to Tumblr. Users are given a subdomain of username.tumblr.com but they are allowed to use an external domain which gets mapped to the subdomain. How do I go about this in PHP? Allowing users to use custom domain names? Thanks so much in advance for the help! 回答1: You can use the following examples: Basic PHP: How to let PHP to create