logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Need help changing ports to prevent ddos attacks.
Author
Xaddo



Joined: 28 Dec 2010
Posts: 2

PostPosted: Tue 28 Dec '10 22:56    Post subject: Need help changing ports to prevent ddos attacks. Reply with quote

I am trying to change my port for example to something else other than :80. For example :3216 I know how to do this however... after i change it my site turns into http://mysite.com:3216 basically telling my port again to the Ddos
er is there a way to remove it so they cannot see it. I've search everywere please help.

I want it to be http://mysite.com/ but listening on port 3216 not default port 80
Back to top
Virsacer



Joined: 16 Jan 2010
Posts: 108
Location: Germany, Darmstadt

PostPosted: Wed 29 Dec '10 0:47    Post subject: Reply with quote

This is not possible since the Browser needs to know the Port of the Server...
Back to top
Xaddo



Joined: 28 Dec 2010
Posts: 2

PostPosted: Wed 29 Dec '10 1:12    Post subject: Reply with quote

Is there other MYSQL/Apache using software that doesnt listen on port 80
or any suggestions to prevent ddosing?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Wed 29 Dec '10 12:17    Post subject: Reply with quote

Listenling on a different port than 80 is a bad idea. As Virsacer told the browser wouldn't be able to connect to your side.
The best way against ddos is a good firewall before apache that blocks an IP is there are to many requests in time x. Ideal is a hardware firewall before the server apache is running on that the Dos requests don't reach apache at all. MySQL shouldn't be reachable over the internet. Close that port in your firewall. Allow only connections form localhost.

Analyse your log files and watch for specific IP andresses you can ban in your firewall.
Back to top


Reply to topic   Topic: Need help changing ports to prevent ddos attacks. View previous topic :: View next topic
Post new topic   Forum Index -> Apache