Get the most out of your Centmin Mod LEMP stack
Become a Member

Adding subdomain with Centmin.sh option 2 generates www.

Discussion in 'Bug Reports' started by RB1, Jan 25, 2017.

  1. RB1

    RB1 Active Member

    281
    72
    28
    Nov 11, 2016
    California
    Ratings:
    +119
    Local Time:
    9:13 AM
    Nginx 1.13.x
    MariaDB 10.1.x
    • CentOS Version: CentOS 7 64bit
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: 1.11.9
    • PHP Version Installed: 7.0.15
    • MariaDB MySQL Version Installed: 10.1.20
    • When was last time updated Centmin Mod code base ? : Today

    Just wondering if this is correct practice or a bug in the vhost generator.
    I created a subdomain for my CDN and inside my vhost config:
    Code (Text):
    server {
     
      server_name cdn.example.com www.cdn.example.com;

    www.cdn.example.com is OK?
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,862
    6,905
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,397
    Local Time:
    3:13 AM
    Nginx 1.13.x
    MariaDB 5.5
    It's a harmless cosmetic bug that never will affect you. If you never set at DNS level a www.subdomain.mydomain.com DNS A record, it never gets used by anyone :)
     
    • Informative Informative x 1
  3. RB1

    RB1 Active Member

    281
    72
    28
    Nov 11, 2016
    California
    Ratings:
    +119
    Local Time:
    9:13 AM
    Nginx 1.13.x
    MariaDB 10.1.x
    Oh yeah duhhh...why didn't I think of that :D