Join the community today
Register Now

Adding subdomain with Centmin.sh option 2 generates www.

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

  1. RB1

    RB1 Active Member

    292
    75
    28
    Nov 11, 2016
    California
    Ratings:
    +122
    Local Time:
    9:04 PM
    Nginx 1.21.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

    53,223
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    2:04 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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 :)
     
  3. RB1

    RB1 Active Member

    292
    75
    28
    Nov 11, 2016
    California
    Ratings:
    +122
    Local Time:
    9:04 PM
    Nginx 1.21.x
    MariaDB 10.1.x
    Oh yeah duhhh...why didn't I think of that :D