Hey everybody, I have a question and I need your help.

Basically what am creating is a platform which is simillar to Shopify, it's 
simillar because each user will have his own profile at a subdomaine: 
user.domaine .com, also I want to give the user the possibility to link his 
own custom domain userDomaine .com, so instead of the subdomaine, he will 
have a custom domain linking to his profile, of couse by adding the CNAMS.

How can I achieve all this ?? any infos ? any tutorials ? any packages that 
will help ??

thank you in advance.

-------

Some one commented on Reddit:

Similar to what I did in GoNevis.com <https://gonevis.com/>.

Something like https://pypi.org/project/django-hosts/ should help.

Basically:

   1. 
   
   DNS record to *.domain.com to domain.com
   2. 
   
   Middleware to catch the HOSTNAME and lookup your db to get the right 
   user/domain.
   
That's mostly the idea.

But I didnt get it, any explanations please of what he said ? if you share 
a link to titorials that would would be awesome.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/00e84baa-052a-4173-87c0-365879e13485n%40googlegroups.com.

Reply via email to