cant access virtualmin on port 1000 (hostname lookup failure) SOLVED

3 posts / 0 new
Last post
#1 Sat, 08/08/2009 - 09:27
Matt2012

cant access virtualmin on port 1000 (hostname lookup failure) SOLVED

Hi ive just finished installing virtualmin and when I do

virtualmin check-config

everything is working!

however when I go to https:vps.mydomain.com:1000

where vps.mydomain.com is my fully qualified domain

I get Network Timeout

if I go to http:vps.mydomain.com I get the apache success page

if I goto my ip addreess I also get Network Timeout

(although I can ping it no problem)

if I do hostname -i I get nothing for a while then

Host name lookup failure

so im thinking this is the problem.

If i go ifconfig I get

(where ive replaced my actual ip with the word MYPRIMARYIP)

lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2056 errors:0 dropped:0 overruns:0 frame:0 TX packets:2056 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:225688 (220.3 KiB) TX bytes:225688 (220.3 KiB)

venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255 UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1 RX packets:151795 errors:0 dropped:0 overruns:0 frame:0 TX packets:110753 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:157325653 (150.0 MiB) TX bytes:14227733 (13.5 MiB)

venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:MYPRIMARYIP P-t-P:MYPRIMARYIP Bcast:94.229.68.236 Mask:255.255.255.255 UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

does anyone know whats up as I think im very close to getting this sorted (Im pretty new to this so as simply as possible would help).

Sat, 08/08/2009 - 09:51
andreychek

Howdy,

however when I go to https:vps.mydomain.com:1000

Close -- it's actually 10000, rather than 1000.

Try adding an extra 0 to the port number and see if that helps :-)

-Eric

Sat, 08/08/2009 - 11:49
Matt2012

yes I was actually getting that wrong so thank you but the hostname was still the issue

I came across this followed the bit at the beginning for setting up my hosts

http://www.virtualmin.com/documentation/id,centos_5_install

..and all sorted!!

Topic locked