Could use help with subdomain/aliasdomain
I've been up and down any how-to I could find but still haven't figured out how to set up a subdomain or alias-domain that does more than create a redirect-loop so far.
Goal: Set up numerous subdomains under one domain.
Attempts so far:
1) sub-domain way:
domain: "domain.name" (selection)
redirect type: tried them all
redirect path: relative and absolute path to subdomain, nginx error log indicates I most likely put the right folder there but:
result: redirect loop, sometimes in the address bar, sometime in the error.log, sometimes both.
2) alias domain way:
well, basically the same, sometimes it did show the content from an index.php file, but still looped through error pages it could not find and broke.
In my eyes the whole subdomain system is broken since it does not allow to simply enter URL + folder and work, but that's really a different issue, if somebody can point me in the right direction I'm happy as long as I don't have to set up different webspace for each sudomains ( and that's an awful lot ).
If a subdomain shall have its own folder, then create a new website as described in the manual. The subdomain and aliasdomain functions are made for cms systems that are capable of handling multiple domains in one vhost, they are not made to host subdomains in different folders of a website.
It does not need to have its entirely own path, the subdomains are just meant to give it a better "look".
So I have this folder layout:
which should end up being
This way they can easily share a common main folder. A distinct webspace for each ( and that's quite a few ) would also mean a new ftp-user for each one, right?
|All times are GMT +2. The time now is 15:12.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.