After virtualmin is installed... Vserver external login issue. Please ADVICE

8 posts / 0 new
Last post
#1 Fri, 07/16/2010 - 16:39
richieking78

After virtualmin is installed... Vserver external login issue. Please ADVICE

Hello,

I have just created 2 virtual servers and i can view them nicely from the browser. Thats cool.

The main problem is..

  1. how to i access the admin of any of the virtual server over the internet?

say https://foo.com:10000 does not work. Shows page not found. normal firefox error.

The port is not changed. nothing is changed. Just not working. All of them.

i can only access them via the local network with the ip address of the server.

say https://192.168.0.10:10000........ works!

I think there must be something wrong with the DNS not resolving well. If so, then

  1. Why does it resolve when i want to see the sites?
  2. That DNS check from pingability.com does not show any errors?

Please can i have answers to this questions... Preferably as listed.

All hands are invited,

Thanks. -king

Fri, 07/16/2010 - 19:27
andreychek

It sounds a bit like your Virtualmin server is behind a NAT router, but that port 10000 isn't being forwarded.

If your server is on 192.168.0.10, that suggests it's sitting on an internal LAN. And then, if you can access port 10000 from the internal LAN, that means Virtualmin is working. So then, if you can't see it from the outside world when other domains do work, there's something preventing port 10000 from being accessed... my first guess there is that it's a problem with forwarding port 10000. It could also be a firewall problem... perhaps with your router, or maybe even your ISP.

-Eric

Sat, 07/17/2010 - 09:43 (Reply to #2)
richieking78

Hi Eric, Thanks for your reply.

You see, i am not that a noob with ports and forwarding. I am currently hosting 470 clients and just want to change infrastructure. That is new Servers(CP) then to virtualmin CP.

I have changed the virtualmin port to so many times ranging from 10000 - 19000 randomly. The trial system now is sitting on DMZ zone so ports shouldn't be an issue here.

Can you please think about something else..... ? Possible causes?

Edited: i just installed webmin alone and it works. I can access the Cpanel from the web. But virtualmin does not.

[firefox error]

Unable to connect

Firefox can't establish a connection to the server at https://www.foo.com:10000

*   The site could be temporarily unavailable or too busy. Try again in a few
      moments.

*   If you are unable to load any pages, check your computer's network
      connection.

*   If your computer or network is protected by a firewall or proxy, make sure
      that Firefox is permitted to access the Web.      

[/firefox error]

foo.com{ real address replaced }

  1. freshly installed ubuntu server 64 does not have a firewall does it?
  2. Dlink router is now on DMZ zone. That is no protection at all. all ports are open.

[more clues]

  1. I can access the virtual server's site with the web-address. no problem but add 10000 things and tada... error!
  2. that with the main ip {external address} i can get to the site also. Add 10000 and guess what? tada.... error.

    [/more clues].

netstat ls :

Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 localhost.localdo:mysql : LISTEN
tcp 0 0 :submission *: LISTEN
tcp 0 0 :pop3 *: LISTEN
tcp 0 0 :imap2 *: LISTEN
tcp 0 0 :webmin *: LISTEN
tcp 0 0 :www *: LISTEN
tcp 0 0 foo.co:domain : LISTEN
tcp 0 0 localhost.locald:domain : LISTEN
tcp 0 0 :ssh *: LISTEN
tcp 0 0 localhost.lo:postgresql : LISTEN
tcp 0 0 :smtp *: LISTEN
tcp 0 0 localhost.localdoma:953 : LISTEN
tcp 0 0 :https *: LISTEN
tcp 0 0 :20000 *: LISTEN
tcp 0 0 :imaps *: LISTEN
tcp 0 0 :pop3s *: LISTEN
tcp6 0 0 [::]:domain [::]:* LISTEN
tcp6 0 0 [::]:ssh [::]:* LISTEN
tcp6 0 0 localhost:postgresql [::]:* LISTEN
tcp6 0 0 localhost:953 [::]:* LISTEN
udp 0 0 :20000 *:
udp 0 0 foo.co:domain :
udp 0 0 localhost.locald:domain :
udp6 0 0 [::]:domain [::]:*
Active UNIX domain sockets (only servers) Proto RefCnt Flags Type State I-Node Path unix 2 [ ACC ] STREAM LISTENING 5139 /var/spool/postfix/var/run/saslauthd/mux unix 2 [ ACC ] STREAM LISTENING 2638 @/com/ubuntu/upstart unix 2 [ ACC ] STREAM LISTENING 3657 /var/run/mysqld/mysqld.sock unix 2 [ ACC ] STREAM LISTENING 3946 /var/run/postgresql/.s.PGSQL.5432 unix 2 [ ACC ] STREAM LISTENING 101024 public/cleanup unix 2 [ ACC ] STREAM LISTENING 101031 private/tlsmgr unix 2 [ ACC ] STREAM LISTENING 101035 private/rewrite unix 2 [ ACC ] STREAM LISTENING 101039 private/bounce unix 2 [ ACC ] STREAM LISTENING 101043 private/defer unix 2 [ ACC ] STREAM LISTENING 101047 private/trace unix 2 [ ACC ] STREAM LISTENING 101051 private/verify unix 2 [ ACC ] STREAM LISTENING 101055 public/flush unix 2 [ ACC ] STREAM LISTENING 101059 private/proxymap unix 2 [ ACC ] STREAM LISTENING 101063 private/proxywrite unix 2 [ ACC ] STREAM LISTENING 101067 private/smtp unix 2 [ ACC ] STREAM LISTENING 101071 private/relay unix 2 [ ACC ] STREAM LISTENING 101075 public/showq unix 2 [ ACC ] STREAM LISTENING 101079 private/error unix 2 [ ACC ] STREAM LISTENING 101083 private/retry unix 2 [ ACC ] STREAM LISTENING 101087 private/discard unix 2 [ ACC ] STREAM LISTENING 101091 private/local unix 2 [ ACC ] STREAM LISTENING 101095 private/virtual unix 2 [ ACC ] STREAM LISTENING 101099 private/lmtp unix 2 [ ACC ] STREAM LISTENING 101103 private/anvil unix 2 [ ACC ] STREAM LISTENING 101107 private/scache unix 2 [ ACC ] STREAM LISTENING 101111 private/maildrop unix 2 [ ACC ] STREAM LISTENING 101115 private/uucp unix 2 [ ACC ] STREAM LISTENING 101119 private/ifmail unix 2 [ ACC ] STREAM LISTENING 101123 private/bsmtp unix 2 [ ACC ] STREAM LISTENING 101127 private/scalemail-backend unix 2 [ ACC ] STREAM LISTENING 101131 private/mailman unix 2 [ ACC ] STREAM LISTENING 5580 /var/run/dovecot/dict-server unix 2 [ ACC ] STREAM LISTENING 5582 /var/run/dovecot/login/default unix 2 [ ACC ] STREAM LISTENING 5587 /var/run/dovecot/auth-worker.1256

/netstat ls.

I highly dont see port here, I think there must be some configuration with virtualmin somewhere. I cant remember the last time i spent 4 days of my life trying to get something to work flawlessly on stuffs like this.

My only bet is on how virtualmin set up domains.

Please Advice.

Thanks -king

Sat, 07/17/2010 - 10:14
andreychek

Howdy,

Your netstat output suggests Webmin/Virtualmin is running just fine:

tcp 0 0 :webmin *: LISTEN

If you run netstat with "netstat -an", it'll show up as port 10000 rather than the name "webmin".

I don't know what, but something else is preventing access to Webmin/Virtualmin :-)

You may want to review the firewall on your server... you can do that running "iptables -L -n" as root from the command line.

-Eric

Sat, 07/17/2010 - 12:19 (Reply to #4)
richieking78

That is what i have been trying to explain here.

I want to know why webmin works and virtualmin does not?

Are the inside configurations different to webmin concerning issues like this.

awaiting your findings.

Thanks

Sat, 07/17/2010 - 10:37
andreychek

Hrm, I'm not sure I'm following the problem at the moment.

However, I can access the link you shared, https://noblis-system.com:10000.

That's the same login screen you'd get whether accessing Webmin or Virtualmin -- Virtualmin is just a module that sits on top of Webmin.

When Virtualmin is installed, and you log into port 10000 as root, you'd simply see some additional options after logging in (well, a lot of different options, but you get the idea).

-Eric

Sat, 07/17/2010 - 10:55
richieking78

can you access the link and get to the login window?

where it requires the usr name and pwd?

please advice.

Sat, 07/17/2010 - 15:39
andreychek

Yup! When I tried earlier today, I was able to access it.

When I look now, however, I do see some problems... looking into the issue deeper, it seems to be a problem with the nameservers.

Take a peek at this intodns.com report:

http://www.intodns.com/noblis-system.com

That suggests that at least one of the nameservers for noblis-system.com isn't responding.

-Eric

Topic locked