Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Eli on August 24, 2003, 02:16:20 AM
-
I want to setup a web server but my isp is blocking port 80. What should I do? Please explain as easy as possible.
Thanks in advance.
-
Eli wrote:
> I want to setup a web server but my isp is blocking port 80.
> What should I do? Please explain as easy as possible.
Come on now... first visit Google.
http://www.google.com/search?q=isp+blocks+port+80
The basics are that you have to choose :
- Host your webserver on an unblocked port (e.g. 8080) and then publish http://www.yourdomain.com:8080/ as your website address.
- use a service that will redirect traffic from http://www.yourdomain.com/ to http://www.yourdomain.com:8080/ (e.g. http://www.dyndns.org/services/mywebhop/faq.html )
Either way, you will have to change the apache listen port. Search this forum for "listen port" (e.g. http://forums.contribs.org/index.php?topic=3416.msg11536#msg11536)
> Thanks in advance.
Why presume? Why not thank after there's something to thank for?
G
-
Hi Eli,
Go to:
http://www.familybrown.org/howtos/listen-port-howto.html
Hope this helps,
Del
-
Problem is I don't know how to get to the templates and how I would change it. I don't understand it. That is why I made my own post rather than following one.
And now I thank you for your help.
-
I did the templates. So now I should get my site by adding:8080. Is this correct? If so I can't get my site. Is it possible that port 8080 is closed?
-Eli
-
I did the templates. So now I should get my site by adding:8080. Is this correct? If so I can't get my site. Is it possible that port 8080 is closed?
-Eli
-
Eli wrote:
>
> I did the templates. So now I should get my site by
> adding:8080. Is this correct? If so I can't get my site. Is
> it possible that port 8080 is closed?
the nmap tool is very useful to tell which ports are in what state.
If you followed Dan's howto step-by-step, including expanding the templates and restarting the web server, then your server should be listening on port 8080.
First have a check of the generated file /etc/httpd/conf/httpd.conf
Look for :
- Listen 0.0.0.0:8080
- NameVirtualHost 0.0.0.0:8080
- several "" references.
If you *don't* see references to the new port in httpd.conf then that means the custom templates and new property you added to the system did not take.
If you *do* see the appropriate port references, try the howto again, this time making a new port, say 8088 and try accessing on that one.
G
-
Guck Puppy wrote:
> Look for :
> - Listen 0.0.0.0:8080
> - NameVirtualHost 0.0.0.0:8080
> - several "" references.
Sigh. Forum strips out items inside angle brackets. Let me try that last one again.
- several "<VirtualHost 0.0.0.0:8080>" references
-
Guck Puppy wrote:
> Sigh. Forum strips out items inside angle brackets. Let me
> try that last one again.
OK. so the forum doesn't. But it does from the emails it sends out from the phorum :P
-
Guck, note that the HOWTO doesn't work for recent versions of SME, as they've changed the templating system.
-
Dan Brown wrote:
> Guck, note that the HOWTO doesn't work for recent versions of
> SME, as they've changed the templating system.
Bugger. Well, I think knowing the SME versions it applies to and not trying it out on incorrect versions still falls under the heading of "Following the how-to" :)
So Eli, did you follow that part of the howto? ;)
-
Dan Brown wrote:
> Guck, note that the HOWTO doesn't work for recent versions of
> SME, as they've changed the templating system.
No, the system is unchanged, but the templates have changed. :-)
I think you'll find there's an easier way to "listen on a different port", with no template changes. Someone should try port forwarding.
Charlie
-
I doesn't say which versions of sme it works for. But when I had to edit the 80Aliases00 template, there was no such file and it made a new one. So instead of editing it, I filled in everything including the unbolded text. I just found another post saying it isn't for sme 5.6. Bugger indeed.
Two things. Does anyone know how to change the listen port on sme 5.6?
Where can I learn about templates?
Thanks for all your help so far :-)
-
And one other thing. What is the mail entry as in "lib/sendmail" for a cgi script using sme to send the mail.