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
-
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.
-
setup a VirtualHost in http.conf.
-
excellent! how do i do it?
-
http://httpd.apache.org/docs/2.0/vhosts/name-based.html
-
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
-
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.
-
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?
-
"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 ..)
-
Is the sme server running as a gateway ? (If so it would be a qestion of port forwarding.)
-
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.
-
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.
-
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.