Koozali.org: home of the SME Server

Can't get online

hinca

Can't get online
« on: July 16, 2006, 01:50:56 PM »
Hi all.

I just installed SME Server 7.0  as ServerOnly and have change port 80 to 81 in httpd.conf
I have also forwardet port 81 in my router to my server
I cant connect from internet to my server, but local it works fine on port 81.

What am I missing ?
Looks like trafic from internet is not allowed

Plz help, Im really stuck

Hinca

Offline mmccarn

  • *
  • 2,657
  • +10/-0
Can't get online
« Reply #1 on: July 16, 2006, 02:54:22 PM »
If you're testing using "server-manager" your original request is redirected to https and wouldn't work from off-site unless you also redirect port 443 in your external firewall...

If you're testing using other ibays, you'll need to change the default setting for "Public access via web or anonymous ftp" (on the ibay properties page).

Offline mmccarn

  • *
  • 2,657
  • +10/-0
Can't get online
« Reply #2 on: July 16, 2006, 03:18:00 PM »
Quote
I just installed SME Server 7.0 as ServerOnly and have change port 80 to 81 in httpd.conf

You'll also want to read about "templating".  You'll get very frustrated manually changing config files, then having your changes disappear the next time you reboot...

http://no.longer.valid/phpwiki/index.php/Architecture%20overview

Also, the firewall is only allowing specific inbound traffic - even in "ServerOnly" mode - and is probably denying inbound traffic from non-local networks.  If you haven't modified the firewall to allow traffic on port 81 then your website won't work from off-site on this port...

I see there is a configuration database entry for TCPPort for the "httpd-e-smith" service - but I suspect you'll need to do a lot of digging to move your entire webserver from port 80 to port 81.

What about an address translation rule on your firewall (re-map traffic on port 81 to port 80 on the SME)?  Or perhaps even a firewall rule on the SME box to re-map incoming traffic on port 81 to localhost:80 (after putting changing httpd.conf back to using port 80... which you can probably do by running "expand-template /etc/httpd/conf/httpd.conf", and "/etc/init.d/httpd restart")

Good Luck!