I have been reading the handbook on using the /sites/ folder for multidomain but how do you point your actual url at this subfolder?

Comments

alpinejag’s picture

You don't need to if everything is setup right. They should all point to the same place, Drupal splits them up internally based on the folder names in /sites/ and the corresponding settings.php in each sites folder.

vm’s picture

multisites should point to where index.php is located in the main install. This can be done with symlinks (which I've not used) Host panels often allow you to point subdomains and addon domains where ever you want. Thus I point mine to where the code base is located and drupal handles the rest based on how I've named my sites/subdomain or domain folders.

netentropy’s picture

I think I am just a bit nervous to use it, probably over thinking it

if it isn't an addon domain, and someone points their domain to my sever, usually hostgator defaults to a folder that matches that domain name, wonder how to get it to point to the main drupal domain

vm’s picture

you can ask your host or read your hosts documentation with reagrds to point docroots. I've never had a host that didn't allow me to point to my own docroot when I wanted either during set up or after setup. I suppose some hosts may not allow this and you may have to ask them to repoint your doc root for the addon domain to the main domain. I am not familiar with hostgator, never used them.

or you must use symlinks for which there is a great deal of forum threads and documentation on the net about how to use those. Again, I've never done so, never had to but after reading about them it's basically a redirection from one folder to another.