Do we need separate virtual host for www.?


#1

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

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:


#2

Certbot will handle multiple names in server_name just fine.


#3

Thank you :slight_smile:


#4

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