LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-12-2003, 02:15 PM   #1
Z28kid
Member
 
Registered: Jan 2003
Location: Long Island
Posts: 72

Rep: Reputation: 15
anyway to fix this.....


i set up a webserver with apache with a cable modem with no-ip.com.

My website is www.mysite.com but it will no work cause port 80 is blocked. so i have a redirect set up like this. http://webserver.mysite.com:9000.

which the 9000 is the port.

so when i typed in www.mysite.com it brings me to the right place but the url shows http://webserver.mysite.com:9000.

is there anyway to keep www.mysite.com on the url as a redirect.

also if my port # is showing can't somebody hack me?
 
Old 03-12-2003, 02:54 PM   #2
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Could you not unblock port 80? Also, I would assume that you could somehow redirect/rename your port 9000 to port 80 on your server. I'm not at my Linux box right now so I can't give you the file or commands to us to do this. Hopefully someone else will be able to provide that. Additionally, you could be hacked regardless of whether you're using 80 or 9000. It doesn't matter if you show 9000 or not as a cracker will most likely use a scanning tool to see what ports are open and available anyway. Also, port 80 is the default www port for servers and I'd say it's safe to say that most any cracker knows this, so if 80 doesn't show, it won't matter much anyway. You should also look into setting up your iptables for firewalling it as well--man iptables has a lot of good info in it. When you set up your iptables, you can block certain types of access and allow other types to come through on which ever port you choose (80 or 9000 or whatever). If this is in anyway incorrect, someone please correct me. Hope this helps.
 
Old 03-12-2003, 03:00 PM   #3
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
I think he meant that his ISP blocks port 80.

I have a cablemodem and my ISP prohibits running a webserver (since all those d*mn WinWorms started hitting...Red Alert I think it was brought the whole damn network down for 2 days...and I STILL get hits daily...)

So, if I chose to run a webpage from home, the ISP itself blocks any outside access to port 80 on internal addresses...so I'd have to choose another port. I believe this poster is in the same situation...

For the original question, I don't think its possible to hide the redirect...since browsers tend to show the URL that you are on rather than the one that sent you there...but I could be wrong.

As for the hacking, I don't think that someone knowing you're using port 9000 increases your chance of being hacked...they are pretty much the same...you have a webserver, you can be hacked...therefore take the appropriate steps and don't make it easy.
 
Old 03-12-2003, 03:03 PM   #4
Z28kid
Member
 
Registered: Jan 2003
Location: Long Island
Posts: 72

Original Poster
Rep: Reputation: 15
yes i think my cable isp does block it cause i can't get to it on 80. But it works on port 9000. so no way to fix it?

also is there a way that you can set www.mysite.com to port 9000

without having to do www.mysite.com:9000?
 
Old 03-12-2003, 03:08 PM   #5
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
Quote:
Originally posted by Z28kid
also is there a way that you can set www.mysite.com to port 9000

without having to do www.mysite.com:9000?
That would depend on how your redirect service works....so I have no idea.
 
Old 03-12-2003, 03:42 PM   #6
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Good to know tcaptain. Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
all attempts to fix the problem failed... can someone help me fix partition space? foreverdita Linux - Enterprise 2 05-11-2005 09:02 AM
reiserfsck --fix-fixable -> --fix-fixable ignored - why? BrianK Linux - Software 1 01-07-2005 08:45 PM
What does this fix? cuco76 Fedora 4 05-23-2004 02:15 PM
How can i fix this jester_69 Linux - Networking 1 09-11-2002 01:32 AM
is it possible or how do i fix this Jasper33 General 3 03-12-2001 06:32 PM


All times are GMT -5. The time now is 02:09 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration