Hostname and SSL

Discussion in 'Server Operation' started by adamjedgar, Nov 13, 2019.

  1. adamjedgar

    adamjedgar Member

    i have 4 VPS servers
    server1.mydomain.com (Virtualmin)
    server2.mydomain.com (Virtualmin - temporary testing server for a new clients very problematic and old Joomla website and is to be decommissioned)
    server3.mydomain.com (ISPConfig)
    server4.mydomain.com (Centos-Webpanel)

    I am going through the following tutorial...https://www.howtoforge.com/tutorial/securing-ispconfig-3-with-a-free-lets-encrypt-ssl-certificate/

    I note that it says...
    Server Hostname FQDN
    Create a site for your server in ISPConfig panel via Sites > Website > Add new website. Remember! This is your server website and as such it must contain your server fully qualified domain name (FQDN). I will refer to it as `hostname -f` in this guide.

    On my ISPConfig system...

    hostname = server3
    hostname -f = server3.mydomain.com

    My first VPS, server1.mydomain.com, already has a website on it mydomain.com which is used to provide the front end of my hosting business.

    Does this mean that if I wish to setup server3 following the tutorial above, it has to have a website called server3.mydomain.com? Or is it supposed to have a website mydomain.com (which i already have on server1)

    note...mydomain.com is the same for all the above
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    That is mydomain.com, not server3.mydomain.com.
    The way that tutorial set the SSL up, you create a website with name that hostname -f returns.
     

Share This Page