Multisite using different urls AND subdomains

Events happening in the community are now at Drupal community events on www.drupal.org.
Kotrotsos's picture

Goodmorning. We have some problems getting multisite to run on different urls. By different urls I mean

domain.com/city/project1
domain.com/city/project4
domain.com/anothercity/project2
domain.com/yetanothercity/project3

It's a single codebase, single database multisite install. Is it possible to do this? If so, what different configuration's do we need to think of?

I've suggested creating the different folders like
domain.com.cityname.projectname
etc

and copying and modifying settings.php in each and everyone of them. But they (the dev that is doing this for me) say they can't access the 'projectname' folder (in the case of the above path) ...

Can someone tell me what we also need to set in order to make this work?
Thank you very much
Kind regards,
Marco

Comments

I'm not sure what to tell

Garrett Albright's picture

I'm not sure what to tell you, because the way you're suggesting should be the way to do it. Perhaps your dev can tell us why they can't access that path…?

*_*

beautifulmind's picture

You need to set the DocumentRoot explicitly point to particular directory for a particular domain/sub-domain.

:)
Beautifulmind

Multisite

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week