Can I set the default website to be selected in the dropdown

SYSTEM INFORMATION
OS type and version Ubuntu Linux 22.04.4
Webmin version 2.111
Usermin version 2.010
Virtualmin version 7.10.0
Theme version 21.10
Package updates 3 package updates are available

I was wondering does anyone know if it is possible to set the default domain to be selected in the dashboard?
image

This is not the same as Virtualmin --> Web Configurtation --> Website Options --> Default website for IP address which does not affect this dropdown.

Thanks

I am pretty sure that list is controlled by the theme configuration (the list there does not - yet, have that option) - I have often thought it would be nice to have either as an option or as a direct (url) parameter selection

Yes

But that is not what I’m looking for.

That list changes the default page for Virtualmin no matter who is logged in or what domain they are logged in to. these are settings inside Virtualmin for Virtualmin I was looking for a way to enter as url.

for example a client who owns a group of domains a.com; b.com; c.co.uk; logs in to Virtualmin using the url ://a.coml:10000/tconfig.cgi?xnavigation=1 but gets the same page as me signing in as root on ://example.com:10000/tconfig.cgi?xnavigation=1

if it could be specified as part of the url (request) then handled as such the client gets to where they want and we cease to have this problem.

The annoying thing is that there is already a parameter ?dom=123456 that is used occasionally - but who knows where that number comes from or means.

The annoying thing is that there is already a parameter ?dom=123456 that is used occasionally - but who knows where that number comes from or means.

I will bet that number is the internal id given to the domain which you can get from the virtual server summary. obviously clients will not know this.

Do you have an example where this is used?

image

Update - found one

example:com10000/virtual-server/list_users.cgi?dom=170723xxxxxx

then menu is full of them

yes that is exactly the problem
it is internal and the client has no idea what the number is and no way they can get it without me giving it to them and then still no way of actually using it (except on the few requests the use it - most of which the client never returns to)

you want what I want but on a per user basis.

If users have their own Authentic-Theme config, you could use jQuery to read the domain IDs against the domain names from the drop down menu and do what you need with that data. It would require the code being inserted for each user. You could do one global jQuery but if broken would break a lot of peoples login experience.

NB: this a quick guess because I have not looked into that much.

I prefer the identity “per client” as they are essentially “sudo” users and login as such. Even if I let them know their domain id “number” there is very few places they can use it.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.