LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-14-2007, 01:26 PM   #1
airswit
Member
 
Registered: Dec 2005
Distribution: Fedora 4
Posts: 89

Rep: Reputation: 15
cannot connect to webmin


hi,
i have webmin and apache installed. i can't get to webmin at all by browsing to localhost:10000 (default port is 10000). i have tried to add the line Listen 10000 to my httpd config file, but when i do, httpd will not start. do i have to have a hostname specified, and if so, how do i do this? my machine still says its hostname is localhost, but i do have a dns name from dyndns. anyone offer any help for me?

Thanks,
Trevor
 
Old 05-14-2007, 07:19 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 64
Depending on the webmin install try it this way.
http://127.0.0.1:10000
or
https://127.0.0.1:10000

localhost is define in the file /etc/hosts and references to the IP 127.0.0.1

Also webmin is a web server in itself. Apache or other web servers are not required to run to access.
The config file is in /etc/webmin and is called miniserv.conf.
Make sure the daemon is up. Run this command as root.
/sbin/service webmin start

Brian
 
Old 05-14-2007, 10:58 PM   #3
airswit
Member
 
Registered: Dec 2005
Distribution: Fedora 4
Posts: 89

Original Poster
Rep: Reputation: 15
alright, so i was able to connect by typing https://127.0.0.1:10000, and that's it...cant type localhost or my dyndns hostname. what do i have to set up in order to allow for that?

also, can i add/change the /etc/hosts file, and should i, to my dyndns hostname? what would that look like?

thanks
 
Old 05-15-2007, 04:55 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 64
You need a line in your /etc/hosts file like this for localhost to be used on that machine.
Code:
127.0.0.1	localhost.localdomain	localhost
For dyndns service to be used you will have to do the following if you have a router connected to the internet and then the machines connected to the router.

First the router has to port forward port 10000 from the external wan port to the LAN IP of the machine you have webmin on. The machine needs to be set with a static IP not dhcp so no matter when booted or reset or whatever it has the same IP. Next on the linux machine if a firewall is enabled on it, it will need to be opened for port 10000 to get through.

Brian
 
  


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
How do I connect to Webmin remotely? wslyhbb Linux - Networking 3 11-18-2010 05:03 AM
Centos 4.4 - Webmin: cannot connect (even with firewall exception) gandalfrat Linux - Newbie 5 04-02-2007 05:27 PM
cant connect to webmin or apache with other comp in house wickedly Linux - Networking 1 04-16-2006 06:29 PM
unable to connect to webmin jortega2795 Linux - Newbie 3 11-11-2004 04:13 PM
Webmin to connect to windows based network ? wlaw Linux - Networking 6 09-06-2004 08:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:08 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration