New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Apache Redirecting


Post Reply New Thread Subscribe

 
Thread Tools
boopyman

 
Member Since: Nov 04, 2009
Posts: 6
boopyman is on a distinguished road

boopyman is offline
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!
QUOTE Thanks
fov

 
Member Since: Oct 01, 2009
Location: UK
Posts: 28
fov is on a distinguished road
Mac Specs: MBP 2.8 15" & Sony Vaio running Ubuntu 9.04

fov is offline
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.
QUOTE Thanks
boopyman

 
Member Since: Nov 04, 2009
Posts: 6
boopyman is on a distinguished road

boopyman is offline
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.
QUOTE Thanks
boopyman

 
Member Since: Nov 04, 2009
Posts: 6
boopyman is on a distinguished road

boopyman is offline
Anybody?
QUOTE Thanks
Unibody

 
Unibody's Avatar
 
Member Since: May 31, 2009
Location: Vancouver, Canada
Posts: 203
Unibody will become famous soon enough
Mac Specs: 15" Unibody (Jan 09)

Unibody is offline
You cannot use mod_rewrite to fake the port number.
QUOTE Thanks
boopyman

 
Member Since: Nov 04, 2009
Posts: 6
boopyman is on a distinguished road

boopyman is offline
So is there any way?
QUOTE Thanks
Unibody

 
Unibody's Avatar
 
Member Since: May 31, 2009
Location: Vancouver, Canada
Posts: 203
Unibody will become famous soon enough
Mac Specs: 15" Unibody (Jan 09)

Unibody is offline
Check out no-ip's Port 80 redirect.

No-IP™ Free - Free Dynamic DNS - DDNS

Quote:
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/
QUOTE Thanks
boopyman

 
Member Since: Nov 04, 2009
Posts: 6
boopyman is on a distinguished road

boopyman is offline
Thanks alot, i will take a look at that!
QUOTE Thanks

Post Reply New Thread Subscribe


« actionscript counting end of movie clips | free website builder? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
apache redirects to 127.0.0.1 pagod OS X - Operating System 0 05-08-2007 04:58 AM
Stupid Apache alexisonfire Schweb's Lounge 10 08-16-2006 01:24 AM
Apache and Airport Express jwindhall OS X - Operating System 1 10-06-2005 06:23 AM
Dual Apache install, how do I remove!? edokid OS X - Operating System 1 02-11-2005 03:35 AM
Apache does not start plutonito OS X - Development and Darwin 3 07-28-2004 12:19 PM

All times are GMT -4. The time now is 05:13 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?