I would like to create a feature that allow my users to have custom domain. Like what blogger/wordpress is doing.
e.g.
http://www.domain.com
User can have own custom domain
http://www.custom.com
In which typing in www.custom.com maps to www.domain.com
How do i do so? I am using php. Is this a server configuration?