I need to configure my webserver that can be used like shopiy.com. I will create sub domains dynamically with php while creating user accounts. The users should be able to point the account with their own domain name.
I am using AWS for my hosting and created Elastic IP to make the IP static one.
Registered my main domain name with GoDaddy and pointed to AWS with this elastic IP address.
I will explain the details with an example here.
I have a web application which accepts user registration hosted with a domain name say www.abc.com. When a user creates an account, he will get his own url like hisname.abc.com, which I have accomplished through my web application itself. Now my question is if the above user purchases his own domain name www.hisname.com, he would be able to point the name to hisname.abc.com. What configuration should I make in my server to accept these requests as we are expecting a lot of users could do the above process.