Koozali.org: home of the SME Server

Virtual websites

ElFroggio

Virtual websites
« on: October 27, 2006, 04:03:57 PM »
Hi,

In Apache, in the web directory, you can have each directory with the domain name. Whenever there is an HTTP request, it's directed toward the proper directory. All on the same IP.

I am trying to emulate the same thing with the i-bays, but it does not work, what am I missing?

I configured the domains, content: the appropriate ibay, DNS: resolve locally.

Any suggestion?

Thanks

Offline Terry

  • ***
  • 46
  • +0/-0
    • http://brummell.net
Virtual websites
« Reply #1 on: October 27, 2006, 08:12:55 PM »
Create a virtual domain in the "Domains" section of the server-manager and point it to the appropriate ibay.  The system will handle the rest.

EDIT:  whoops.  Read that you dig that already, it should work "out of the box" when you do that.  May want to did in to some logs.  httpd/access and httpd/error is where I'd start.

Offline Boris

  • *
  • 783
  • +0/-0
Virtual websites
« Reply #2 on: October 27, 2006, 10:41:40 PM »
You can test it from inside your LAN if you use SME as your DNS server or use "hosts" file on the testing workstation, but for everybody else Internet DNS servers needs to know about your domains.
Register your domains and use third party DNS services to resolve all your domains.
...

ElFroggio

Virtual websites
« Reply #3 on: October 27, 2006, 11:50:04 PM »
Now that this part is working properly. I get:
Quote
Information Bay

This information bay has not yet been customized.

1. I have copied my files:
/home/e-smith/files/ibays/networks/html

2. I have created index.php

3. Execution of dynamic content (CGI, PHP, SSI) : Enabled

I must be missing something.

Offline Boris

  • *
  • 783
  • +0/-0
Virtual websites
« Reply #4 on: October 27, 2006, 11:54:27 PM »
remove the original index.html and leave index.php only in the html folder.
...