Results 1 to 8 of 8
  1. #1
    Apache Redirecting

    Member Since
    Nov 04, 2009
    Posts
    6
    Apache Redirecting
    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!

  2. #2
    Apache Redirecting

    Member Since
    Oct 01, 2009
    Location
    UK
    Posts
    28
    Specs:
    MBP 2.8 15" & Sony Vaio running Ubuntu 9.04
    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.

  3. #3
    Apache Redirecting

    Member Since
    Nov 04, 2009
    Posts
    6
    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.

  4. #4
    Apache Redirecting

    Member Since
    Nov 04, 2009
    Posts
    6
    Anybody?

  5. #5
    Apache Redirecting
    Unibody's Avatar
    Member Since
    May 31, 2009
    Location
    Vancouver, Canada
    Posts
    203
    Specs:
    15" Unibody (Jan 09)
    You cannot use mod_rewrite to fake the port number.

  6. #6
    Apache Redirecting

    Member Since
    Nov 04, 2009
    Posts
    6
    So is there any way?

  7. #7
    Apache Redirecting
    Unibody's Avatar
    Member Since
    May 31, 2009
    Location
    Vancouver, Canada
    Posts
    203
    Specs:
    15" Unibody (Jan 09)
    Check out no-ip's Port 80 redirect.

    No-IPô Free - Free Dynamic DNS - DDNS

    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/

  8. #8
    Apache Redirecting

    Member Since
    Nov 04, 2009
    Posts
    6
    Thanks alot, i will take a look at that!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. how to get iweb to quit redirecting?
    By Shanni in forum Web Design and Hosting
    Replies: 3
    Last Post: 02-09-2010, 10:34 PM
  2. redirecting output
    By declanadoyle in forum OS X - Apps and Games
    Replies: 1
    Last Post: 12-07-2009, 07:46 AM
  3. Port redirecting?
    By Grus in forum OS X - Operating System
    Replies: 2
    Last Post: 09-21-2009, 11:27 AM
  4. Redirecting my Net
    By MacMax in forum Internet, Networking, and Wireless
    Replies: 4
    Last Post: 11-13-2008, 04:47 PM
  5. redirecting problem
    By hotrod351 in forum OS X - Operating System
    Replies: 8
    Last Post: 12-21-2007, 02:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •