I have a rather interesting task to complete however I can't figure out which module will work best (hence the topic title).

First, let me tell you the setup. We are currently running on a shared hosting account with cPanel from Hostgator.com. At some point we plan to move to a dedicated box but for now we have to stick to what's available.

The idea is to be able to expand our site's content to city specific domains, I'd like to have it setup as "cityname.domain.com" however if it has to be "domain.com/cityname" that's fine too. The content at first will just duplicate from the primary domain however each city must be able to edit their pages and blocks independently once setup. It's preferred to have the usernames shared across the sites but not necessary.

With that said, I was going to try Domains however from what I can tell from the documentation I need to have full access to the server and some kind of knowledge of DNS. Which might be a problem but not impossible.

So, to the point, any recommendations about what module(s) I should use? and the best way to configure them? Also, has anyone ever setup Domains on a shared server before?

I really appreciate all responses!

Comments

WorldFallz’s picture

I would look at using the http://drupal.org/project/og and http://drupal.org/project/subdomain modules for this.

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

jeremyr’s picture

I've been giving that combo a go and so far I've been running into problems but hopefully I can get that straightened out. Thanks for the reply

Anyone else have any suggestions I could experiment with?

W: jprasmussen.com

mineshaftgap’s picture

Look at Domain Access: http://drupal.org/project/domain

I have implemented it for a current project and it is great.

msg

mnp’s picture

please help me mineshaftgap regarding domainaccess module
i installed domain module but if i publish any content in main site that content not published in second site for second site any settings to change.i installed domain module in main site only.i have done nothing in second site.only i gave domainname in first site.any thing wrong
please tell me
thanks

jeremyr’s picture

manasapenchala, are you installing more than one instance of drupal? With domains you only need one then in the admin section you add each domain there.

And to everyone else... I went with Domains and it works fantastically. Very happy with the results.

W: jprasmussen.com

mnp’s picture

thanks for ur reply
can u explain how you configured please?
i installed two sites different databases may be that is my problem?
thanks

chales’s picture

Using Drupal's built in multi-site functionality is a good solution. You can share database tables for the users but separate content to a site by site basis. Drupal can handle all the subdomains. You would just point all of them to same installation directory and create a directory for each subdomain.

city1.example.com
city2.example.com
city3.example.com

These could all be individual sites only sharing users.

There are tons of posts about the setup process, such as http://drupal.org/node/322363

*Most* shared hosting providers will offer some sort of administration panel that will usually allow you to manage your domains. Withe above setup you would set a single wildcard domain (*.example.com) if possible and point that to your Drupal install. Drupal would route domains to their appropriate directory.


DrupalVoodoo
glasswool’s picture

Hello all,
I have successfully set up a multi-site installation and all is fine.

However I now need to move one site which is a subdomain in another setup using the Domain Access module. How does one extract the database of a subdomain in a DA setup to move it to above multi-site setup?