Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: meelis on October 01, 2007, 01:57:33 PM
-
I have one web (in asp) windows 2003 server
How i make this web visible in internal and exterenal users for same address
I made port forwarding but then users need diferent addresses
I tried todo this (by this manual: http://wiki.contribs.org/SME_Server:Documentation:FAQ#Proxy_Pass) but nothing
db domains set window.com domain Nameservers internet
db domains setprop window.com ProxyPassTarget http://192.168.2.2:81
db domains setprop window.comTemplatePath ProxyPassVirtualHosts
signal-event domain-create window.com
/etc/rc.d/init.d/httpd restart
(sorry my english)
-
I have one web (in asp) windows 2003 server
How i make this web visible in internal and exterenal users for same address
I made port forwarding but then users need diferent addresses
I tried todo this (by this manual: http://wiki.contribs.org/SME_Server:Documentation:FAQ#Proxy_Pass) but nothing
db domains set window.com domain Nameservers internet
db domains setprop window.com ProxyPassTarget http://192.168.2.2:81
db domains setprop window.comTemplatePath ProxyPassVirtualHosts
signal-event domain-create window.com
/etc/rc.d/init.d/httpd restart
(sorry my english)
What are the error messages your users/you get? Did you look in the log files if you could find some hints, e.g. /var/log/messages, /var/log/httpd/error_log and /var/log/httpd/access_log.
Did you really specify the window.com domain? Is this also the domain of your server?
IMHO above specified configuration will forward all traffic that requests the domain window to http://192.168.2.2:81.
-
The usual solution to your problem is to make sure your users get the internal IP for your windows server when they're at the office, and that they get the public IP of the SME when they're off-site (when they do DNS queries).
-
meelis
> db domains setprop window.com ProxyPassTarget http://192.168.2.2:81
If you read the Wiki carefully you will see you left out the trailing slash
db domains setprop proxypassdomain.com ProxyPassTarget http://xxx.xxx.xxx.xxx/