Sorry if this topic is not unique, but believe me, I've searched alot.
I've a website that users can subscribe and have a unique web page for themselves with address like this:
http://website.com/api/username
Now, I want to make them able to access their pages using addresses like this:
In fact, username comes here as a subdomain.
and I know I have to add a wildcard a record (* as name and website IP as address). I've made this changes.
But I couldn't find any .htaccess code working for my problem.
could you help me please? Thanks in advance.