Change default port apache 2

xlinux

Verified User
Joined
May 4, 2012
Messages
72
hi . i have some problem. i hope everyone will help me
i have used centos 5 and apache 2.
i want change port default :80
ex: when i type domain into web brower as firefox . my website not used port 80
it is have to change to new port which i config.
how i config it ?
P/s: i configed domain:new_port it is running but i have to extractly domain and new port.
 
thanks for your reply. i changed file /etc/httpd/conf/http.conf but it is not good. please read again my post. anyone read my post please help me. thanks
 
Are you using DirectAdmin? If not, then you're asking in the wrong place.

If you've changed Apache configuration successfully and you know it's working on the port on which you want it to work, then try turning off all firewalling to see if that helps.

Jeff
 
before and now i use directadmin but i can't change port. i need help
 
Please, you need ensure what you can't do: either to change port or to connect to a different port?

Code:
netstat -an | grep LISTEN | grep ^tcp

what you see with that?
 
i want to run apache with other port ex: 8080 because i don't want run port 80. i will install nginx as font-end. So apache run other port.

The last: i want when you type domain.com into brower as firefox. not port as domain.com:port , my website can load normal.

p/s: my english is not good. if anyone don't understand, you can reply.thanks
 
why you link to my topic ?. if you used nginx as font-end. you can show me your topo and show all config file . i can see .thanks
 
He pointed to the post where did you get a correct reply, search for how-to for nginx in this forum for check if you did someething wrong.

Regards
 
Hello,

why you link to my topic ?. if you used nginx as font-end. you can show me your topo and show all config file . i can see .thanks

If you want to see my configs you should hire me to do a set-up for you. Otherwise google it as there some of them here on these forums, as well as on other web-sites.
 
zEitEr said:
If you want to see my configs you should hire me to do a set-up for you. Otherwise google it as there some of them here on these forums, as well as on other web-sites.
hi. you are supporter for directadmin ?. if it is true. i think you will share all free not hire anything. i belive when you share knowlege . many person will thanks to you. you can read a new tutorial for nginx as font-end. i search many topic by google but i can't config good :(
 
Me zeiter and all users here (except ofc DirectAdmin Support) are not DA Staff but we are just customers as you are of this panel.

Our support in this forum is just for try to help someone else, that doenst mean that if we do some scripts or customizations we must share those with everyone.

All of us are sysadmin and that's our job, so, if you want some customizations, you have two ways:
1 - understand what you need and how to do that, and do that
2 - hire someone for do the job for you

So, i dont see why zeiter should share his configuration if he dont want to do that for free.

I do also have customized script and software i use to put on server for my customer when i manage them, cause those customization help me on management multiple servers, that doesnt mean that i wanna share those with everyone, those customizations/script/software configuration costed me time, and no one have so much free time when you are a sysadmin.

Hope has been enough clear on my meanings.

Regards
 
hi. you are supporter for directadmin ?

As Andrea (I thank him for that) has already mentioned we do not work for Directadmin. As a part of our free help and contribution to Directadmin community we give consulting here on these forums for free and of course some of us share some findings and scripts and even write How-To also out of any charge.

But you should not consider that you will get all of us for free. Note, though NGINX is not officially supported by Directadmin there are 3rd party plugins and How-Tos available in Internet. I could name at least 3-4 independent implementation of it into Directadmin, some of them are free of any payments. As I install NGINX as a part of my commerce service I don't want to advertise any other related products or services, so feel free to use Google (or any other other search engine) if you need it for free.
 
zEitEr said:
As Andrea (I thank him for that) has already mentioned we do not work for Directadmin. As a part of our free help and contribution to Directadmin community we give consulting here on these forums for free and of course some of us share some findings and scripts and even write How-To also out of any charge.

But you should not consider that you will get all of us for free. Note, though NGINX is not officially supported by Directadmin there are 3rd party plugins and How-Tos available in Internet. I could name at least 3-4 independent implementation of it into Directadmin, some of them are free of any payments. As I install NGINX as a part of my commerce service I don't want to advertise any other related products or services, so feel free to use Google (or any other other search engine) if you need it for free.

oh thanks for all free support from you and others. but if you can talk me about config nginx .thanks
 
Back
Top