Background – All was working Ok before , Some one from my team removed webmin .
So i reinstalled it
Now Sites are up but virtual hots are not visible under Virtualmin’s domain management area
i tried rechecking configurations multiple time, but that didnt worked
Or, if you have etckeeper installed (you probably do, as it’s part of the Virtualmin install), and if it has been functional throughout all of the destruction, you probably have backups of the configuration files that were lost in a git repo in the /etc directory.
That was a bad idea, backups are always the first thing to set up
looks like your starting from scratch then, do you have all the domain owners & data for each of them still on disk ?
example if you owned mircrosoft.com do you files & data in /home/microsoft(.com) which will get you some of the way there, and the same is true of the database server(mariadb) you could do dumps for each of the domains from the command line.
if this is a VPS does your supplier keep any snapshots/backups if they do it maybe possible to restore back from them. I am guessing the best bet is to copy all the data (if you have it) off and recommission your vps install virtualmin, create the domain names the copy the data back to the relevant directories & repopulate the mariadb server from the dumps you have made. Either way you have a bit of work to do there.