Hello All,
How to edit httpd.conf in Apache to forward all requests at Port 80 to Port 70 or any other ports?
Krishna
Printable View
Hello All,
How to edit httpd.conf in Apache to forward all requests at Port 80 to Port 70 or any other ports?
Krishna
Dear Zomby,
My 80 port is used by another service.
I have made Apache to listen at port 70
And i m running a website at wamp/www/website
and i want website to be accessible by following link on other computers
http://servername/website
Rather than current url--- http://servername:70/website
anything we can do using port other than 80 and still not mentioning the port number on url..
Krishna
Hi,
there are several options available.
1. simply use https (Port 443)
Disadvantage needs more calculation power
More complex to set up
2. when you are useing a router:
simply forward to port 70 instead of 80 to your computer
3. Depending on your Service on Port 80
Setup Virtual Hosts.
That would be one apache running and depending on the name of the web-site you call you will be shown different content.
Example:
www.site1.local => 192.168.0.100
www.site2.local => 192.168.0.100
If you access www.site1.local you can show a different content than www.site2.local
Same goes for proxy mode.
If you put the service of port 80 to 81 you can use the apache proxy module to forward a sub-folder or name to the different service.
May your service on port 80 supports a equal functionality.
IPTABLES is not what you are looking for in this case if you already have a web service running.
I would say your best bet would be to follow zombykillah advice for virtual hosting.
Hi.
my Apache is listening at port 70
so i have to access localhost at as Open Source and Linux Forums
i want localhost to be accessed as Open Source and Linux Forums instead of
Open Source and Linux Forums
Can i simply make some changes in httpd.conf to do that.
KRISHNA