HI, I did installed virtualmin, and “s1.olddomain1.com” as first virtual server, keeping same as linux server hostname. , but later i decided to change the host domain name. to: s1.newdomain.com ,
after delete the s1.olddomain.com , one of the clients domain become primary domain for virutalmin… which i cannot delete or disable now… , even after creating virtualserver same as server name , my s1.newdomain.com is not a primary domain.
For my surprise, some of the viertual server default virtualmin page. it shows me client domain name “xyz.com” and also when creating ssl certificate to other virtualserver, i see message saying certificate is not issued for this domain. saying certificate is created for xyz.com
i cannot delete or disable… I have already change new domain name: networking-network configuration- hostname and dns client"
what else can be done . please help I am new here.
Why ? You should not host a virtual domain with the same name as the hostname. Just delete that virtual server and create something else I’m sure the install documentation warns you about managing a virtual domain with the same name as the hostname
As @jimr1 Don’t manually create a virtual server with the same name as your hostname. I think the option has been removed from Virtualmin configuration settings.
to set a new primary website for apache/virtualmin:
select the website you want
Web configuration → Website Options → Default website for IP address
hi,
thank you for the support,
Now i have changed virtualmin mgmt server to be not same as host name:
now it is newdomain.com,
atcually main domain was pointed to my old server on cpanel/whm with other ISP , now i am migrating to AWS , without cpanel . here with virtualmin. this is done.
Web configuration → Website Options → Default website for IP address
also i have initiated re-check
Both above task is done.
now my host name is s2.newdomain.com , and for the virutalmin mgmt, i will use : as" newdomain.com:10000
now there is no virtualserver in the name of s2.newdomain.com:
however i do manage my virutalmin on host name: s2.newdomain.com:10000"
this is fine… understood.
but still one question ? why one my client domain “xyz.com” i am unable to delete.
and when i preview the any website after the migration from old provider, and when the ssl is not yet configured, it is showing ssl was issued for xyz.com not the new " anydoman.com " that is where i know this is still acting as primary domain .
i know if install ssl for “anynewdomain.com” things show right not an a issue.
here still question , whry ? i am unable to delete is i want to " xyz.com"
and how it is still primary domain.