FAQ:Administration:ServerAdmin:PreviewServer:2

Back to the FAQ List


Clients have repetitive problems with server preview, how can I solve this ?


****************** TO DO TO DO TO DO TO DO 

It's not possible to change the preview server port. You can however try to use the Apache that we install for your own applications. For example, set up a proxy that wraps around a IIS. That way you could let IIS run on a different port and let Apache tunnel all the traffic.

<!- In Apache 2 used by Alienbrain a name based virtual host pointing to another port or server can be added. To do this, add the following to the httpd.conf of the Alienbrain Apache, where othersite.mydomain.com is the address of the other server and http://alienbrain.mydomain.com:8080 the address and port of the Alienbrain server. -->

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so

NameVirtualHost * 

<VirtualHost *>
ServerName alienbrain.mydomain.com
DocumentRoot "D:\Programme\alienbrain\WebRoot"
</VirtualHost> 
<VirtualHost *>
ServerName othersite.redirect.com
ProxyPass / http://alienbrain.mydomain.com:8080/
</VirtualHost> 


This way you only have to change the name of the machine your accessing and all links should work. Just make sure that the server names are actually known to your DNS server and point to the alienbrain Apache.



Back to the FAQ List

This page was last modified 08:11, 15 Nov 2006.
This page has been accessed 436 times.