building multiple dynamic websites on the fly

48 views
Skip to first unread message

Mrinmoy Das

unread,
Jan 7, 2014, 10:03:11 AM1/7/14
to django...@googlegroups.com
Hi,

I am thinking of building an application which will enable users to build their own websites on the fly. On my app you will need to sign-up and then from their you can make your own websites from your profile (with your own domain name). Can anyone guide me on the right way? 


Erik Cederstrand

unread,
Jan 7, 2014, 12:18:56 PM1/7/14
to Django Users
Den 07/01/2014 kl. 11.03 skrev Mrinmoy Das <mrinmo...@gmail.com>:

> I am thinking of building an application which will enable users to build their own websites on the fly. On my app you will need to sign-up and then from their you can make your own websites from your profile (with your own domain name). Can anyone guide me on the right way?

You need to be much more specific. What tasks do you need help with? Nobody is going to give you a complete manual to create a new divshot.com or wix.com :-)

Erik

Mark Moss

unread,
Jan 7, 2014, 12:55:12 PM1/7/14
to django...@googlegroups.com
So, you are trying to create a "website builder". instead of asking how to build the entire project, break the project into smaller chunks (like, login, profile mgmt, site creator, preview manager etc). Then start building it yourself and start asking your questions when you face challenges.

---------------------
- Mark
Try Pre-installed Django Framework that works instantly out-of-the box!

Mrinmoy Das

unread,
Jan 7, 2014, 1:13:13 PM1/7/14
to django...@googlegroups.com
Yeah I am working with django. Thing is I want the users to have their own domain names. Which I will store on my database and there site will be running on that domain name. But all these will be under a single django project. So how do I solve the urls and domain names?

--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1f49e1a2-f92f-477a-a8e2-6f5f00978106%40googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

Rafael E. Ferrero

unread,
Jan 7, 2014, 1:19:55 PM1/7/14
to django...@googlegroups.com

2014/1/7 Mrinmoy Das <mrinmo...@gmail.com>

Yeah I am working with django. Thing is I want the users to have their own domain names. Which I will store on my database and there site will be running on that domain name. But all these will be under a single django project. So how do I solve the urls and domain names?
Maybe you must to create an script for create DNS config files ?
If the user want to use his own .com or .net or whatever... they must to point his domain to a DNS Service... if you has your own domain and every user has his own SUBdomain from you then you must create that on your own DNS.

Hope to help you!
 

On Tue, Jan 7, 2014 at 6:25 PM, Mark Moss <care...@gmail.com> wrote:
So, you are trying to create a "website builder". instead of asking how to build the entire project, break the project into smaller chunks (like, login, profile mgmt, site creator, preview manager etc). Then start building it yourself and start asking your questions when you face challenges.

---------------------
- Mark
Try Pre-installed Django Framework that works instantly out-of-the box!

--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1f49e1a2-f92f-477a-a8e2-6f5f00978106%40googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.

For more options, visit https://groups.google.com/groups/opt_out.



--
Rafael E. Ferrero

Mrinmoy Das

unread,
Jan 7, 2014, 1:40:11 PM1/7/14
to django...@googlegroups.com
Hi,

Is there a pure django solution towards this problem?

Rafael E. Ferrero

unread,
Jan 7, 2014, 2:11:37 PM1/7/14
to django...@googlegroups.com
Django its not a DNS Server you need one (like BIND) to point yours domains IMHO you can use python scripts for automate Bind config files.

See u.


2014/1/7 Mrinmoy Das <mrinmo...@gmail.com>

For more options, visit https://groups.google.com/groups/opt_out.



--
Rafael E. Ferrero

Erik Cederstrand

unread,
Jan 8, 2014, 7:58:56 AM1/8/14
to Django Users
Den 07/01/2014 kl. 14.40 skrev Mrinmoy Das <mrinmo...@gmail.com>:

> Is there a pure django solution towards this problem?

There is the Django sites framework to help you decide what to do depending on the domain name you are receiving. See https://docs.djangoproject.com/en/dev/ref/contrib/sites/. Or just look at HttpRequest.META.HTTP_HOST and continue from there.

If you only want to offer subdomains to your users (user1.example.com), you just set up your DNS to pass all subdomains to your server (*.example.com).

If you want to offer arbitrary domain names, you either need to ask your users to register a domain name and set up their DNS to point to your server (and possibly set up your web server to accept these domain names), or become a domain name registrar yourself so you can handle the paperwork for them (like e.g. https://one.com does). The latter is not really an option if you are a small company.

Erik
Reply all
Reply to author
Forward
0 new messages