Mobile app version of vmapp.org
Login or Join
Rivera981

: When changing the hostname of a server, can a CNAME be used with the old name for backwards compatibility? We have a VPS hosting a few of dozen sites at server.example.com. We're deploying

@Rivera981

Posted in: #Dns #Name #Vps

We have a VPS hosting a few of dozen sites at server.example.com. We're deploying 3 more VPSs this week to cope with growth & want to change our naming structure.

E.g. s1.example.com, s2.example.com, s3.example.com, etc.

If we change the hostname of our current server, is there a way we can set an alias (like a CNAME) so that we don't have to change the config of every device that connects to us for mail services? Currently almost 80 devices.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Rivera981

1 Comments

Sorted by latest first Latest Oldest Best

 

@Heady270

It is perfectly acceptable for multiple host names to refer to the same IP address (and server). So yes, use a CNAME with the old name of your VPS so that all the devices that connect with that name can continue to do so without re-configuration.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme