poker158149
06-09-2011, 04:55 PM
Hi everyone.
My ISP blocks port 80 and I'm hosting my own site on Ubuntu Server, so I have to use port 81 in order to publish my site to the internet. Well, how can I go about redirecting all port 80 requests to port 81? I've tried iptables, but it doesn't work for me. I don't want to use NO-IP because they make you use one of their subdomains. I want it so that when someone types in http://mysite.com, it sends them to http://mysite.com:81
I'm not sure how possible this is, but if it is I would really appreciate someone sharing how to do it with me.
Thanks!
My ISP blocks port 80 and I'm hosting my own site on Ubuntu Server, so I have to use port 81 in order to publish my site to the internet. Well, how can I go about redirecting all port 80 requests to port 81? I've tried iptables, but it doesn't work for me. I don't want to use NO-IP because they make you use one of their subdomains. I want it so that when someone types in http://mysite.com, it sends them to http://mysite.com:81
I'm not sure how possible this is, but if it is I would really appreciate someone sharing how to do it with me.
Thanks!