Koozali.org: home of the SME Server

hosting a website NOT in a i-bay

ringring7

hosting a website NOT in a i-bay
« on: July 05, 2006, 04:33:17 AM »
I have a client who, for various reasons, would like to host their website on a local machine.
Any ideas on how i would do this? hostnames and addresses? or something.

recoco

hosting a website NOT in a i-bay
« Reply #1 on: July 05, 2006, 04:50:23 AM »
setup a VirtualHost in http.conf.

ringring7

hosting a website NOT in a i-bay
« Reply #2 on: July 05, 2006, 06:40:58 AM »
excellent! how do i do it?

recoco


Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
hosting a website NOT in a i-bay
« Reply #4 on: July 05, 2006, 03:20:22 PM »
I am curious as to whay you do not want to use an ibay? SME will allow you to set up virtual domains.

Start with the manual at this point http://mirror.contribs.org/smeserver/contribs//bobk/SME_Manual/chpt-13.6.html

I discusses domains. It is for SME6, but is still applicable.

Bob
If you think you know whats going on, you obviously have no idea whats going on!

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: hosting a website NOT in a i-bay
« Reply #5 on: July 05, 2006, 04:18:49 PM »
Quote from: "ringring7"
I have a client who, for various reasons, would like to host their website on a local machine.


I assume that you mean "a local machine which does not run SME server". Search here for proxypass.

ringring7

hosting a website NOT in a i-bay
« Reply #6 on: July 07, 2006, 03:11:14 AM »
Specifically....they have a mac mini that uses File Maker Pro as the database engine for the website....Im guessing that cant be hosted in an ibay.
Unless you have any better ideas?

Offline arne

  • *****
  • 1,116
  • +0/-4
hosting a website NOT in a i-bay
« Reply #7 on: July 07, 2006, 01:55:49 PM »
"setup a VirtualHost in http.conf "

No it does not work like this for the sme server at all. Modifications would eventually have to be done via the templatesystem not directely via the .conf files.

"I have a client who, for various reasons, would like to host their website on a local machine.
Any ideas on how i would do this? hostnames and addresses? or something."

If so they wil have to be running a web server at the local machine. Then it would be a question about forwarding trafic from a sme gateway to a local server.

There might be some issues about forwarding port 80 as this is used by the sme web server. (But it might be ways arount this ..)
......

Offline arne

  • *****
  • 1,116
  • +0/-4
hosting a website NOT in a i-bay
« Reply #8 on: July 07, 2006, 01:58:50 PM »
Is the sme server running as a gateway ? (If so it would be a qestion of port forwarding.)
......

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
hosting a website NOT in a i-bay
« Reply #9 on: July 07, 2006, 05:18:53 PM »
Quote from: "arne"
Is the sme server running as a gateway ? (If so it would be a qestion of port forwarding.)


No. Even if it is running as a gateway, proxypass will likely be a better solution. That way you can one or more websites running on the server, as well as the one website which is forwarded to the internal server.

ringring7

hosting a website NOT in a i-bay
« Reply #10 on: July 10, 2006, 03:17:20 AM »
SO....I need to use a proxy pass AND a webserver on the local computer?

Also, where would i start looking to learn about proxy pass?
Thanks.

Offline raem

  • *
  • 3,972
  • +4/-0
hosting a website NOT in a i-bay
« Reply #11 on: July 10, 2006, 10:27:03 AM »
ringring7

> SO....I need to use a proxy pass AND a webserver on the local computer?
> Also, where would i start looking to learn about proxy pass?

You click in the Search Site window at the top right corner of screen.
Then type in proxypass
In the Forum results click Show all Results
Then read back a few posts (or as many as is required to find the answer).

It took me about 1 minute to find this as the answer was only posted a few days ago.

http://forums.contribs.org/index.php?topic=32511.0

By the way you would put the proxypass entry on the server, so that http requests for that domain are forwarded to the other web server that is on another box on your network (or wherever).

>...they have a mac mini that uses File Maker Pro as the database engine > for the website....Unless you have any better ideas?

Personally I think you would be better to migrate that db to mysql (on the sme server) and host the web site on the server in an ibay then.

To update the database establish ODBC links to the mysql db from the workstation.
...