http to https Redirect

  • ccb056
  • Graduate
  • Graduate
  • User avatar
  • Joined: Mar 20, 2004
  • Posts: 189
  • Status: Offline

Post February 27th, 2008, 3:11 pm

I have my domain registered at Godaddy.

I am hosting the website at my house.

The ISP blocks port 80, but port 443 is open.

I already have Apache setup for https traffic.

https://www.computerbb.org works fine but http://www.computerbb.org doesnt work (443 open, 80 blocked)

How do I setup Godaddy to redirect all http traffic to https traffic?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post February 27th, 2008, 3:11 pm

  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: Nov 21, 2006
  • Posts: 4924
  • Loc: NY
  • Status: Offline

Post February 27th, 2008, 3:55 pm

Search google for apache redirect and search this forum for redirect. Between the two of them, you'll find the answer.
How do you know when a politician is lying? His mouth is moving.
  • ccb056
  • Graduate
  • Graduate
  • User avatar
  • Joined: Mar 20, 2004
  • Posts: 189
  • Status: Offline

Post February 27th, 2008, 4:05 pm

I can't do an apache redirect because nothing ever gets to Apache on port 80.

The way I understand an apache redirect to work is the client connects to apache over port 80, and apache then through the use of htaccess or a modified conf file redirects to the https site.
  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: Nov 21, 2006
  • Posts: 4924
  • Loc: NY
  • Status: Offline

Post February 27th, 2008, 4:30 pm

Ok, here is someone's solution to a similar problem, from this forum.

Redirecting from the Apache didn't really work out in my case. I had to mount the folder on the live server and setup the mounted file system as the sub domain.. here is what I did exactly

http://forums.kwtlinux.com/viewtopic.php?f=2&t=11
How do you know when a politician is lying? His mouth is moving.
  • ccb056
  • Graduate
  • Graduate
  • User avatar
  • Joined: Mar 20, 2004
  • Posts: 189
  • Status: Offline

Post February 27th, 2008, 5:21 pm

That wont work because port 80 is blocked. I need to do the redirection at the registrar or nameserver.
  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: Nov 21, 2006
  • Posts: 4924
  • Loc: NY
  • Status: Offline

Post February 27th, 2008, 5:34 pm

Ok, I'll have to defer to someone else. I don't know.
How do you know when a politician is lying? His mouth is moving.
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2675
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post March 4th, 2008, 12:32 pm

You can't.

The truth is you do not own your network, and that is where the PAT (port address translation) would happen; at the network layer.

What your domain registration hosting company is providing you is domain to IP translation. You gave them your IP, in their DNS they have an entry like;
www IN A <your IP>

There is no network activity at this layer.

Your best bet is to either tell your friends to hit https, or conversely as a friend who does have a hosted page to handle a redirect for you.

Besides, the intent of this forum is NOT to help people circumvent their ISP's terms of service agreements.
"It's always a long day, 86,400 won't fit into a short."
  • abhay_bc
  • Born
  • Born
  • No Avatar
  • Joined: Jan 12, 2010
  • Posts: 1
  • Status: Offline

Post January 12th, 2010, 5:23 am

I have exact same problem, with an exception that I have control on my network .. I have folks who maintain the network.

My situation :

I have a linux server behind firewall in which only 443 is open. Can port address translation help us ?
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2675
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post January 12th, 2010, 5:57 am

If you have control of your network, create an ACL for port 80 traffic.

Am I missing something?
"It's always a long day, 86,400 won't fit into a short."

Post Information

  • Total Posts in this topic: 9 posts
  • Users browsing this forum: No registered users and 26 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.