Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: DanB35 on December 15, 2015, 02:57:05 PM
-
I've been through the server-manager, and I don't see a way to do this with stock SME 9.1, but I just want to be sure. I'd like to set up my SME 9.1 server to use a subdomain of ibay.mydomain.tld, rather than needing to go to www.mydomain.tld/ibay. It's easy enough, of course, to direct a given domain to a specified ibay, but I don't see a way to do this with a subdomain (of either the primary domain, or of any additional domain).
I do see http://wiki.contribs.org/Webapps-common, but frankly the note in the "skill level" box is a little scary. Is that the way to go, or is there a better/safer way to accomplish this?
-
As far as I know you go to server-manager, Domains and add your host
e.g.
If your domain is mydomain.com
Add this in the panel :
myhost.mydomain.com
Point it to an ibay and set DNS to resolve locally
So in your case add a 'domain' of
ibay.mydomain.tld
And point it to the ibay
B. Rgds
John
-
Well, that was easy! Not quite obvious, but certainly easy. Yes, that worked fine, thanks!
Now to complicate it just a bit--what if the content isn't in an ibay? I'm thinking of accessing the webmail from webmail.mydomain.tld instead of /webmail.
-
Then it's back to webapps-common ;-)
-
I do see http://wiki.contribs.org/Webapps-common (http://wiki.contribs.org/Webapps-common), but frankly the note in the "skill level" box is a little scary. Is that the way to go, or is there a better/safer way to accomplish this?
Actually it's not that scary, and indeed the skill level is a bit too high.
At the end, all the contrib does is adding a new db key for you required domain and expand templating magic. Removing the key and, again, expand templating magic, will set you back to default.
-
I thought that "Significant risk of irreversible harm" was unlikely (since pretty much anything short of rm -rf / is reversible), but it does rather tend to dissuade someone from trying it...
-
Adjusted it.
-
Adjusted it.
:lol: