Discover Centmin Mod today
Register Now

demodomain.com

Discussion in 'Feature Requests & Suggestions' started by raciasolvo, Oct 10, 2016.

  1. raciasolvo

    raciasolvo Member

    98
    10
    8
    Oct 7, 2016
    Ratings:
    +27
    Local Time:
    9:25 AM
    Nginx 1.11.6
    MariaDB 10.0.27
    Please, create uninstall_demodomain.com.sh. I think that this domain is created for example. Or I'm wrong?
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,938
    6,912
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,408
    Local Time:
    4:25 PM
    Nginx 1.13.x
    MariaDB 5.5
    yeah just leave it there it does nothing but serve as a demo but it's not publicly accessible. Incorrectly deleting it, will break nginx startup/restarts though.
     
  3. raciasolvo

    raciasolvo Member

    98
    10
    8
    Oct 7, 2016
    Ratings:
    +27
    Local Time:
    9:25 AM
    Nginx 1.11.6
    MariaDB 10.0.27
    Yes, I am afraid that nginx will not start and that this domain is used for technological purposes. But I do not like this domain. :) What do you think about this script?
    Code (Text):
    rm -rf /usr/local/nginx/conf/conf.d/demodomain.com.conf
    rm -rf /home/nginx/domains/demodomain.com
    rm -rf /usr/local/nginx/conf/autoprotect/demodomain.com
    service nginx restart
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,938
    6,912
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,408
    Local Time:
    4:25 PM
    Nginx 1.13.x
    MariaDB 5.5
    try and see should be fine
     
  5. raciasolvo

    raciasolvo Member

    98
    10
    8
    Oct 7, 2016
    Ratings:
    +27
    Local Time:
    9:25 AM
    Nginx 1.11.6
    MariaDB 10.0.27
    Code (Text):
    Restarting nginx (via systemctl):                          [  OK  ]

    Adding to /root/tools :)
    Thank you!
     
    • Like Like x 1
  6. eva2000

    eva2000 Administrator Staff Member

    30,938
    6,912
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,408
    Local Time:
    4:25 PM
    Nginx 1.13.x
    MariaDB 5.5
    the vhost won't come back so no need to re-run those commands once deleted
     
    • Like Like x 1
  7. raciasolvo

    raciasolvo Member

    98
    10
    8
    Oct 7, 2016
    Ratings:
    +27
    Local Time:
    9:25 AM
    Nginx 1.11.6
    MariaDB 10.0.27
    You're right! :D
    But for a new vds this script more useful.:)
     
    • Like Like x 1
  8. ethanpil

    ethanpil Active Member

    168
    47
    28
    Nov 8, 2015
    Ratings:
    +87
    Local Time:
    4:25 PM
    How about during first install centminmod can ask what the default domain should be? It will save a step in the future and eliminate useless demodomain.com folder....
     
    • Like Like x 1
  9. eva2000

    eva2000 Administrator Staff Member

    30,938
    6,912
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,408
    Local Time:
    4:25 PM
    Nginx 1.13.x
    MariaDB 5.5
    ah sounds good.. can probably get folks pre-populating persistent config file before install (for curl unattended centmin mod installs) to generate vhost via /usr/bin/nv method post install
     
    • Winner Winner x 1
  10. ethanpil

    ethanpil Active Member

    168
    47
    28
    Nov 8, 2015
    Ratings:
    +87
    Local Time:
    4:25 PM
    Yes! My dream!!