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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
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
Acronis Data Cloud 7.8 Enhances Cyber Protection

A closer look at five essential enhancements that benefit end-users and help MSPs take their cloud data protection business further.

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
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.