Koozali.org: home of the SME Server

Virtual domains on a static IP

Vince

Virtual domains on a static IP
« on: April 03, 2001, 02:29:32 PM »
The docs for setting up multiple domains on a static IP seem to be incomplete. They say:

"To create a virtual domain, fill in the domain name and a description of the site. You then tell the server where to find the content for that domain - it can be the same as your primary web site, or you can create a new set of web pages and store them in one of your i-bays."

My question is if the content location for one of these domains is the same as the primary web site, how is it delineated as different and recognized as a separate web domain? Do you create a sub-folder in the primary folder that has the same name as the virtual domain? I've done this and the 'modify virtual domain' screen doesn't see the folder as it does with an ibay.

The docs aren't clear as to how to set up these files. If you're setting up, say 3 domains on the server, do each of their files HAVE to be in ibays?

What is the most secure? Putting virtual domain files in the primary area or creating ibays?

Randy Brown

Re: Virtual domains on a static IP
« Reply #1 on: April 04, 2001, 10:24:02 AM »
If you want the same content from domain1 and domain2 the they each can point at the same place, be it the primary web site or an ibay. If you want direrent content for each domain the put them in diferent places.

Richard

Re: Virtual domains on a static IP
« Reply #2 on: April 04, 2001, 12:19:21 PM »
That's what ibays are for - content located outside the primary domain.  You can easily point any number of domain names to the same IP address, and have each one present a different set of files to the browser via ibays.  If you require further assistance, I'm happy to help.

Richard

Vince

Re: Virtual domains on a static IP
« Reply #3 on: April 04, 2001, 12:25:46 PM »
I finally got the ibays to work perfectly as individual domains. I just didn't get it from the docs that the same thing wasn't possible by creating folders in the primary directory. It didn't blatantly state that, although I suspected it and you guys confirmed it.

If it had more clearly covered the 2 solutions and their differences I would have saved valuable time. Some people trying out this software are clueless - like me - and need it spelled out.

Thanks for the help.