LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-04-2010, 12:05 AM   #1
rtoney5
Member
 
Registered: Oct 2007
Location: FL, US
Distribution: Ubuntu MintLinux-XFCE, Mint7, Parted Magic, PCOS OpenWorkstation, OpenSuse-11
Posts: 131

Rep: Reputation: 17
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.
 
Old 04-04-2010, 08:06 AM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,297

Rep: Reputation: 205Reputation: 205Reputation: 205
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.
 
Old 04-04-2010, 11:48 PM   #3
rtoney5
Member
 
Registered: Oct 2007
Location: FL, US
Distribution: Ubuntu MintLinux-XFCE, Mint7, Parted Magic, PCOS OpenWorkstation, OpenSuse-11
Posts: 131

Original Poster
Rep: Reputation: 17
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,
 
Old 04-05-2010, 08:15 AM   #4
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 6/7, Vista, XP , WIN7, Server 03/08
Posts: 1,284

Rep: Reputation: 97
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.
 
Old 04-05-2010, 08:46 AM   #5
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,900

Rep: Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322
Hi,

You can use the Redirect directive:
Code:
Redirect permanent /webmin http://abc.com:10000
but as others said, it's better not to expose the webmin pages to the internet

Regards

Last edited by bathory; 04-05-2010 at 09:01 AM.
 
Old 04-08-2010, 12:14 PM   #6
rtoney5
Member
 
Registered: Oct 2007
Location: FL, US
Distribution: Ubuntu MintLinux-XFCE, Mint7, Parted Magic, PCOS OpenWorkstation, OpenSuse-11
Posts: 131

Original Poster
Rep: Reputation: 17
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
 
Old 04-08-2010, 12:33 PM   #7
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,900

Rep: Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322
For ubuntu you need to add the Redirect directive in /etc/apache2/apache2.conf
After that you need to restart apache

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
localhost:10000 uses an invalid security certificate. Webmin 1.470 Ubuntu 9.04 Clived Ubuntu 10 03-20-2012 08:03 AM
Compare string (capitol letters) abc to ABC Willy Fog Linux - Newbie 4 09-17-2009 11:36 AM
How to set linux environment variable like abc.abc (With DOT in the string) super_hill Linux - General 1 12-03-2008 07:37 PM
webmin port 10000 not going through kevinm2 Linux - Software 3 08-19-2004 12:29 PM
Webmin Vitualmin SUEXEC Apache Virtual Named Based Server Setup Questions ? Confused! wishiwas Linux - Software 0 12-02-2003 09:47 PM


All times are GMT -5. The time now is 12:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration