LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-19-2012, 09:13 AM   #1
depam
Member
 
Registered: Sep 2005
Posts: 861

Rep: Reputation: 30
website redirection inquiry


I have a webpage running on port different from port 80. The most common problem that I encounter is that people trying to access my site should key in ort number. This is fine but other people are behind proxy / firewall which only allows port 80 to go thru.

I am thinking of an alternative to make it accessible for users who are behind firewalls / proxy. Is there such a way to do this? I have dyndns account and the web hop doesn't seem to accomplish this as it only masks the URL and redirects it to the same port number the webpage is running.

I was thinking if apache can accomplish this by initiating the connection from its end so that it will be accessible to the users. Or are there tools I can use? I know this is possible as there are websites who does just does this but my concern is the security since my site requires passwords which is not supposed to be exploited.
 
Old 04-19-2012, 09:53 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
public facing websites should run on 80 and 443. Is there really a good reason that you aren't doing this? If you're just trying to be secure via being obscure, it's not worth it.

The only way I'm aware of would be to use an intermediate reverse proxy in a different location that can proxy the requests to your abnormal port. You can't use DNS or other mechanisms like this to aid you if you're keeping that site on a non-standard port.

And you think there are websites where the server initiates a connection to the client? Erm... what??

I'd really suggest you explore tackling the issues that are stopping you running the port on 80 in the first place. do it properly.
 
Old 04-19-2012, 07:17 PM   #3
depam
Member
 
Registered: Sep 2005
Posts: 861

Original Poster
Rep: Reputation: 30
acid_kewpie,

Nice to hear from you. The problem is that my ISP doesn't allow incoming connection to these specific ports (80,443).
 
Old 04-20-2012, 02:02 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
put the site somewhere else then. It's often outright cheaper to use a simple hosting service than pay for your own electricity to run a home server.
 
Old 04-20-2012, 07:45 AM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,667
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
I definitely agree: don't try to run a web site at home. Easiest thing to do is shared-hosting; dedicated (virtual machine) servers are not much more expensive. Those boxes are out there, in the right place, designed for the purpose, with "beefy" connections and hardware. And, cheap.
 
Old 04-30-2012, 08:42 PM   #6
systemnotes
LQ Newbie
 
Registered: Apr 2007
Distribution: RHEL
Posts: 29

Rep: Reputation: 15
http://wordprodomains.com is one place you can get hosting for a few dollars a month.

I was a cheapskate for years, but when I finally got a hosting account, it opened up a whole new world of possibilities on the net.

A way to get free hosting is to ask a friend who has a hosting account to let you host your simple html on their site. If your traffic is low, and has nothing like copyrighted material, it should be no problem to add your site.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
os inquiry chandra kant Linux - Newbie 3 11-18-2010 08:19 PM
Squid inquiry ImAnEwBiE Linux - Newbie 1 10-26-2006 04:19 AM
Apache - Website Redirection Help cbarone2005 Linux - Software 2 09-29-2005 02:45 PM
Website redirection script PdotROSS Linux - Networking 1 09-09-2005 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration