I have a website, but since my ISP doesn't let me host a website on my port 80, I had to change the port to 8081.
Now, it works fine, but i have to type www.mywebsite.com:8081 everytime.
I was wondering if it was possible to forward www.mywebsite.com:8081 to www.mywebsite.com.
My idea for doing this was to use mod_rewrite in apache, but i have had trouble with understanding this stuff, so if anyone has any ideas, please post them.
Thank you very much in advance!
Just for confirmation you have you set up like this:
The cloud-------------------->your internet connection-->your router--->your computer serving the site
(everyone on the internet)
And the issue is your internet connection doesnt allow traffic in over port 80?
In which case no there is nothing reasonable you can do. You could put a reverse proxy somewhere like a datacenter and have that server from port 80 but you would be spending 50x just getting some hosting.
I would advise you get some normal shared hosting. Its so cheap now, just dont fall for any of the unlimited rubbish or godaddy very oversold nastyness.
No, the problem isn't that I can't run my website on 80. Well, it was.
Now, i can run my website on 8081, which is fine with me, but i wanted to know if i could redirect mywebsite.com:8081 to just mywebsite.com, probably using mod_rewrite.
Port 80 Redirects
Many residential ISPs Block port 80, No-IP Free DNS enables you to run a webserver on a non-standard port, yet users accessing your site never have to enter a port number. For example http://yourname.no-ip.com/ can redirect to http://yourname.no-ip.com:8833/