Setup Apache so Webmin can be accessed like abc.com/webmin instead of abc.com:10000
Hello:
I'm running Ubuntu 9.10 and was trying to figure out how to setup Apache so that I can view my Webmin outside of my network like abc.com/webmin instead of abc.com:10000. I tried the webmin.apache.html instructions, but ended up reinstalling webmin because i was no longer able to sign into it. I opened up port 10000 on my router and opened the port on Firestarter as well. Any help showing how a virtual server can be setup would be helpful. Thanks. |
As long as you have the correct ports open it should simply be a case of typing: https://<web address or ip>:<port>
It would be more secure not to expose port 10000 to the internet. Instead redirect the incoming connection to the correct port via your router/firewall. |
Thanks, but perhaps I didn't explain what I wanted to do more clearly. Instead of typing abc.com:10000 I would like to type in abc.com/webmin from outside my network. How can I configure Apache to do this.
I'm sure it's something with Virtual Hosts. Thanks, |
I don't know about virtual hosts off hand but I imagine you can set one up that says there is a web server running on port 10000, and the virtual name is webmin.abc.com or whatever. But you might be best served looking that up by looking up on google for apache virtual hosts. What the other poster I think was referrign to was redirecting the port on your router so that webmin.abc.com:80 the http port or more accurately webmin.abc.com:443 gets redirected to internalserver:10000 most routers can do something similar to this. Port forwarding is very common.
|
Hi,
You can use the Redirect directive: Code:
Redirect permanent /webmin http://abc.com:10000 Regards |
Hey Thanks Guys. But what configuration /path/file would I need to put the statement below? I'd rather try to put it into a config file somewhere so i can change it later if needed. Just wasn't sure where exactly to put the statement...:
Redirect permanent /webmin http://abc.com:10000 Thanks Again |
For ubuntu you need to add the Redirect directive in /etc/apache2/apache2.conf
After that you need to restart apache Regards |
All times are GMT -5. The time now is 03:11 AM. |