Koozali.org: home of the SME Server

Fix for virtual web hosting

Quade

Fix for virtual web hosting
« 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...

Kim Morrison

RE: Fix for virtual web hosting
« Reply #1 on: September 14, 1999, 09:03:00 PM »
Quade,

That's pretty cool!  Thanks for the tip!

Kim

Bear

RE: Fix for virtual web hosting
« Reply #2 on: September 16, 1999, 04:43:04 AM »
Is it possible for different webmasters to manage their domain through the web interface?

Bear

Kim Morrison

RE: Fix for virtual web hosting
« Reply #3 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