GetSimple Support Forum
sharing one installation with subdomains - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: sharing one installation with subdomains (/showthread.php?tid=3921)



sharing one installation with subdomains - ad2003 - 2012-11-23

Hi!

Another question: Is it possible to have different subdomains.domain.com

targeting the same "xml database file". lets say I have a portfoliopage and a specific Layout - portfolio.domain.com - but now I would like to have fun.domain.com - but with the same portfolio details from the main xml file.

For instance I want to have a serioud website on the one hand, but also a fun website on the other - kind of a themechanger...

thanks!

ad


RE: sharing one installation with subdomains - yojoe - 2012-11-26

If you have access to shell on your hosting account, you can try with creating symlinks to files or whole directories. There's also mod_proxy for apache webserver, if you are familiar with htaccess and rewrite rules.


RE: sharing one installation with subdomains - shovenose - 2012-11-26

Interesting concept, I could see this also being useful for mobile and desktop versions of sites.
I agree that symlinks would work if you used a VPS or Dedicated Server, with shared hosting it would not be possible probably.


RE: sharing one installation with subdomains - shawn_a - 2012-11-26

I have shared hosting and can create symblinks just fine.
Depends on your host.


RE: sharing one installation with subdomains - JWH_Matthew - 2012-11-26

I believe in the past we had a plugin that could acomplish this..

I haven't seen it around lately so I am not sure if it would still be supported.


RE: sharing one installation with subdomains - shovenose - 2012-11-26

(2012-11-26, 08:44:04)shawn_a Wrote: I have shared hosting and can create symblinks just fine.
Depends on your host.

Hmm... to be honest I've never done it, just assumed it couldn't be done.
You could always use a cPanel redirect Smile


RE: sharing one installation with subdomains - sal - 2012-11-26

Wouldn't you just alias the subdomains to the same install and use the hostname to serve a different stylesheet?