All Products
Search
Document Center

Server Migration Center:What do I do if the instance retains its original hostname from the previous cloud platform after I migrate a Linux server?

Last Updated:Apr 30, 2025

This topic describes the issue that the instance retains its original hostname from the previous cloud platform after you migrate a Linux server by using Server Migration Center (SMC). This topic also describes the causes of and solutions to this issue.

Problem description

The instance retains its original hostname from the previous cloud platform after you migrate a Linux server.

Cause

The cloud-init software is not installed or started on the ECS instance, or the cloud-init versions of the source server is incompatible with Alibaba Cloud.

Solution

Install cloud-init and restart the instance to update the hostname. For more information, see Install cloud-init.