Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: ringring7 on July 05, 2006, 04:33:17 AM

Title: hosting a website NOT in a i-bay
Post by: ringring7 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.
Title: hosting a website NOT in a i-bay
Post by: recoco on July 05, 2006, 04:50:23 AM
setup a VirtualHost in http.conf.
Title: hosting a website NOT in a i-bay
Post by: ringring7 on July 05, 2006, 06:40:58 AM
excellent! how do i do it?
Title: hosting a website NOT in a i-bay
Post by: recoco on July 05, 2006, 11:58:06 AM
http://httpd.apache.org/docs/2.0/vhosts/name-based.html
Title: hosting a website NOT in a i-bay
Post by: crazybob 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
Title: Re: hosting a website NOT in a i-bay
Post by: CharlieBrady 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.
Title: hosting a website NOT in a i-bay
Post by: ringring7 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?
Title: hosting a website NOT in a i-bay
Post by: arne 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 ..)
Title: hosting a website NOT in a i-bay
Post by: arne 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.)
Title: hosting a website NOT in a i-bay
Post by: CharlieBrady 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.
Title: hosting a website NOT in a i-bay
Post by: ringring7 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.
Title: hosting a website NOT in a i-bay
Post by: raem 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.