LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   anyway to fix this..... (https://www.linuxquestions.org/questions/linux-newbie-8/anyway-to-fix-this-49481/)

Z28kid 03-12-2003 02:15 PM

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?

Texicle 03-12-2003 02:54 PM

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.:D

tcaptain 03-12-2003 03:00 PM

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.

Z28kid 03-12-2003 03:03 PM

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?

tcaptain 03-12-2003 03:08 PM

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.

Texicle 03-12-2003 03:42 PM

Good to know tcaptain. Thanks!:D


All times are GMT -5. The time now is 07:18 AM.