http to https Redirect

  • ccb056
  • Graduate
  • Graduate
  • User avatar
  • Posts: 189

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Don2007
  • Web Master
  • Web Master
  • Don2007
  • Posts: 4924
  • Loc: NY

Post 3+ Months Ago

Search google for apache redirect and search this forum for redirect. Between the two of them, you'll find the answer.
  • ccb056
  • Graduate
  • Graduate
  • User avatar
  • Posts: 189

Post 3+ Months Ago

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
  • Don2007
  • Posts: 4924
  • Loc: NY

Post 3+ Months Ago

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
  • ccb056
  • Graduate
  • Graduate
  • User avatar
  • Posts: 189

Post 3+ Months Ago

That wont work because port 80 is blocked. I need to do the redirection at the registrar or nameserver.
  • Don2007
  • Web Master
  • Web Master
  • Don2007
  • Posts: 4924
  • Loc: NY

Post 3+ Months Ago

Ok, I'll have to defer to someone else. I don't know.
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

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.
  • abhay_bc
  • Born
  • Born
  • abhay_bc
  • Posts: 1

Post 3+ Months Ago

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
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

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

Am I missing something?

Post Information

  • Total Posts in this topic: 9 posts
  • Users browsing this forum: No registered users and 12 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
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.