Page 1 of 1

Domain or subdomain for server hostname?

Posted: Mon Oct 12, 2020 12:33 pm
by gkarea
Hello, My main website is domain.com want to host on vps with myvestacp..
what i choose for myvestacp admin panel while installing myvesta as fqdn ? Whould it be like.. server.domain.com or simply domain.com for admin panel?

currently I have set up fqdn while installing myvesta as domain.com.. is it fine??? or should i use something like server.domain.com or srv.domain.com..
Thanks...

Re: Domain or Subdomain for myvesta webpanel??

Posted: Mon Oct 12, 2020 12:40 pm
by myVesta
server.domain.com is my recommendation.
it's always better to have separated hostname for server.

Re: Domain or subdomain for server hostname?

Posted: Mon Oct 12, 2020 12:54 pm
by gkarea
If i set as server.domain.com. then my name servers will automatically included ns1.server.domain.com and ns2.server.domain.com in the admin panel.. Then how can i use name server like ns1.domain.com and ns2.domain.com with fqdn as server.domain.com??? Thanks for your replay...

Actually I want to set up host as server.domain.com as fqdn and name server are like ns1.doman.com and ns2.domain.com... Can I use like this??

Re: Domain or subdomain for server hostname?

Posted: Mon Oct 12, 2020 1:25 pm
by myVesta
You are right.

Well, you can manually add ns1 and ns2 (as A record) to your domain after installation.
Everything other will works.
You can also generate LetsEncrypt for hostname later... it will be automatically applied as general SSL then.

Re: Domain or subdomain for server hostname?

Posted: Mon Oct 12, 2020 6:46 pm
by gkarea
I have tried as you said but ssl is not generating showing 400 error..
could you please help me about this..

Re: Domain or subdomain for server hostname?

Posted: Mon Oct 12, 2020 6:57 pm
by myVesta
Do not post password and IP address on this public forum.
I will take a look now.

Re: Domain or subdomain for server hostname?

Posted: Mon Oct 12, 2020 7:09 pm
by gkarea
I am just testing this server..... Please inform me what was my fault..

Re: Domain or subdomain for server hostname?

Posted: Mon Oct 12, 2020 7:31 pm
by myVesta
Probably too many unsuccessful attempts to generate LetsEncrypt, and now you are blocked by LetsEncrypt, probably within 24 hours.

Maybe www. alias was the problem, I removed it now.

Try tomorrow to generate LetsEncrypt.

Re: Domain or subdomain for server hostname?

Posted: Mon Oct 12, 2020 7:49 pm
by gkarea
Its ok,,, but I have tried only twice... Thanks.. i will check tomorrow..