Can I change the hostname of Primary site?

Patrick Mor 51 Reputation points
2022-03-07T14:15:01.127+00:00

I have a stand alone Primary Site, it is SCCM CB, virtual machine with local SQL.

I will change this server (VM object) to another Datacenter, other location, and all servers in the new Datacenter need to follows a pattern to hostnames.

Due to this I will need to change SCCM server hostname.

Is that possible?
Is that supported?

Thank you,

Microsoft Security | Intune | Configuration Manager | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Jason Sandys 31,411 Reputation points Microsoft Employee Moderator
    2022-03-07T15:24:55.213+00:00

    No, there is no supported way to change the hostname of a primary site server or any site system within ConfigMgr.

    2 people found this answer helpful.
    0 comments No comments

  2. AllenLiu-MSFT 49,316 Reputation points Microsoft External Staff
    2022-03-08T02:16:02.693+00:00

    Hi, @Patrick Mor

    Thank you for posting in Microsoft Q&A forum.

    Like Jason said, there is not a supported way by Microsoft to change the hostname of site server.
    Even we can achieve it by changing it in database like below post, but it is not a supported way, we will not get further support by microsoft if we edit the database manually.
    The post just for your reference:
    https://www.prajwaldesai.com/change-sccm-site-name/


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.