Do we need separate virtual host for www.?


Hello I have 2 domains( and hosted on same server using Nginx,
so before I run certbot script do i need to make Virtual host entry for” and “ ? or can we use multiple server_name [in case of apache ServerAlias as]

If we need separate entry for domain and www. in that case it will lead to make 4 entries for two domains in virtual host file :slight_smile:


Certbot will handle multiple names in server_name just fine.


Thank you :slight_smile:


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