Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Quade on September 13, 1999, 02:12:17 PM

Title: Fix for virtual web hosting
Post by: Quade on September 13, 1999, 02:12:17 PM
I know that e-smith doesn't support virtual hosting (multiple domains) which I *definitly* would like to see in a 3.1 version of the server.  
However, I wrote a javascript fix to make up for this...

All your domains should point to the same IP address (talk to your ISP about this).  Each domain should have it's own directory under the root (not neccesary, but helps keep things tidy).  The index page should have the following code:



   Redirecting...

   




Your browser is not JavaScript compatable.  Please consider upgrading to Netscape Navigator 4.5


www.domain1.com can be seen here.


www.domain2.com can be seen here.


www.domain3.com can be seen here.









This requires a browser to be JavaScript compliant.  But then, if your customer cant run JavaScript, s/he can't run SSL or otherwise give you a credit card number anyway...
Title: RE: Fix for virtual web hosting
Post by: Kim Morrison on September 14, 1999, 09:03:00 PM
Quade,

That's pretty cool!  Thanks for the tip!

Kim
Title: RE: Fix for virtual web hosting
Post by: Bear on September 16, 1999, 04:43:04 AM
Is it possible for different webmasters to manage their domain through the web interface?

Bear
Title: RE: Fix for virtual web hosting
Post by: Kim Morrison on September 17, 1999, 06:46:31 PM
Bear

If you are using ibays to host various web sites, no one from outside the local network can write files to disk.  So, unfortunately, in this case, no - different webmasters cannot manage their own domains from outside the organization.

Kim