Putting Webmin on a subdomain instead of localhost:10000

I'm attempting to move my webmin control panel on to a subdomain instead of the localhost:10000 so I can access it via browser on any machine.

I've been attempting this through the use of mod_proxy but I don't seem to be having any luck finding the proper information on forums.

I currently have the subdomain pointing to the server with an A record. I've also configured an apache virtual directory pointing at the file directory with the 10000 port.

Any ideas would be appreciated, thank you.

SysAdmin1030Asked:
Who is Participating?
 
databoksCommented:
Hello

Are you behind NAT/firewall? if so make sure to port forward port 10000 to your webmin server.

Then just add your external ip address to the A record as subdomain.domain.com


and access it as

https://subdomain.domain.com:10000

0
 
wesly_chenCommented:
> on to a subdomain instead of the localhost:10000 so I can access it via browser on any machine.
Can you do it via
http://<IP address>:10000/
on different machine but on the same subnet/vlan?

How about on different subnet/vlan
0
 
SysAdmin1030Author Commented:
Yes, I can currently access it via browser by https://ipaddress:10000 but I would prefer having the access being domain based if it is possible.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
wesly_chenCommented:
> having the access being domain based
You mean the FQDN like webmin.yourdomain.com:10000 ?
Then add an A record to your DNS server.
0
 
SysAdmin1030Author Commented:
I have an A record in the DNS pointing the subdomain control.domain.com to the IP of the server and I have apache listening on the 10000 port for the host name control.domain.com but I'm getting the default apache "it works" and not webmin.

I'm not sure why...
0
 
wesly_chenCommented:
> I have apache listening on the 10000 port for the host name control.domain.com
Where is the apache installed on?

For DNS subdomain, say your main domain is domain.com
and the subdomain
control.domain.com

Then your DNS A record for webmin in subdomain should be
<webmin's hostname>.control.domain.com
isn't it?
0
 
SysAdmin1030Author Commented:
An A record can only take one successive subdomain. I can only add <control> to the main domain, I can't add two items.
0
 
wesly_chenCommented:
I got confused.
What is exactly the subdomain?

You can not add other A record in subdomain?
Then why do you want the subdomain?
0
 
SysAdmin1030Author Commented:
Here is my situation.

I currently have the following webmin access viewable through this https://00.00.0.000:10000

But...

I would like to set the address of this https://00.00.0.000:10000 to control.example.com

Does this make more sense?

0
 
wesly_chenCommented:
Then you just need a A record map
00.00.0.000 to control.example.com

no subdomain.

So you access webmin through
https://control.example.com:10000/
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.