I have a website www.example.com that create subdomains for each user like
- user1.example.com
- user2.example.com
Now I need to give a feature to map this subdomain to their own website:
- user1.com
- user2.com
When people come to user1.com the same content of user1.example.com needs to be displays.
How can I do this? Like user1.com is pointed to nameserver ns1.example.com and ns2.example.com