Want to subscribe to topics you're interested in?
Become a Member

Install Is it necessary to change the hostname of the server after centminmod is installed?

Discussion in 'Install & Upgrades or Pre-Install Questions' started by modder, Nov 16, 2021.

  1. modder

    modder Member

    70
    9
    8
    Dec 6, 2019
    Ratings:
    +14
    Local Time:
    10:59 AM
    Do I need to do the following according to "Setup The Default Server Main Hostname Nginx Vhost."?

    1. Change the hostname of the server:

    Add web.myname.com, save and close file

    2. Edit /etc/hosts


    3. Edit vhostconf

    Do I really have to do that? what's the point? Can I skip it?

    Thanks.
     
    Last edited: Nov 16, 2021
  2. eva2000

    eva2000 Administrator Staff Member

    47,498
    10,769
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,742
    Local Time:
    12:59 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
  3. David Schargel

    David Schargel New Member

    25
    8
    3
    Feb 2, 2020
    Ratings:
    +18
    Local Time:
    6:59 PM
    I made the mistake of not doing it and had to come back later to fix my error. I would highly recommend changing the hostname early.
     
  4. modder

    modder Member

    70
    9
    8
    Dec 6, 2019
    Ratings:
    +14
    Local Time:
    10:59 AM
    It's really about the emails sent being marked as spammed like eva2000 said? Or that caused you some other problems? Thanks.
     
  5. David Schargel

    David Schargel New Member

    25
    8
    3
    Feb 2, 2020
    Ratings:
    +18
    Local Time:
    6:59 PM
    All of my issues were related to receiving emails from the server. I wasn't receiving any emails as the DMARC records couldn't be sent and all server outgoing emails were being quarantined.
     
  6. eva2000

    eva2000 Administrator Staff Member

    47,498
    10,769
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,742
    Local Time:
    12:59 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Yup what @David Schargel said. It's about reliably being able to receive emails you sent from your server's Postfix MTA mail server i.e. if you set cronjob email notifications, update notifications or even Centmin Mod's disk space alert https://community.centminmod.com/th...lert-daily-cronjob-email-notifications.14066/ or Centmin Mod style SSH login alerts https://community.centminmod.com/threads/ssh-login-email-alerts-centmin-mod-style.9498/. All these emails need to be able to reach your inbox for the email you specify to send to/receive alerts at.