How do I enable custom domains for my users?
问题 I am looking to allow my users to use their own domain name to access my web service. For example if I have a user with a profile at example.com/users/david how can I allow david to use exampledavid.com to access his profile page. I don't want the users to see example.com in the address bar, but instead for david to see exampledavid.com. 回答1: Your issue can be solved with URL rewrite and HTTP Header manipulation or reverse-proxy. For apache http server: use ProxyPassReverse directive The