I’ve carried out quite a bit of research and searching to find out how CMS and web applications such as WordPress.com work when it comes to mapping user domains.
As you may be aware, users can add their custom domain onto a WordPress.com website – this is what I’m looking to achieve for my own service I’m building. It’s code base is PHP with a MySQL backend.
How is this done? My best guess was through a database lookup and a redirect to the correct wordpress subdomain. If anyone has any ideas on this I would really appreciate your input. Thanks!
Read more here: ‘Hosting’ users domain names on a CMS