Mobile app version of vmapp.org
Login or Join
Correia994

: Change domain name without changing host/server I want to change a website's domain name and while looking up best practices, the resources I read assume I'm moving the website to a new server

@Correia994

Posted in: #301Redirect #Dns #Domains #Seo #WebHosting

I want to change a website's domain name and while looking up best practices, the resources I read assume I'm moving the website to a new server or hosting, without going in to why.

They basically propose moving the website to a new host, pointing the new domain name to the new host, and then setting up 301 redirects on the old host/domain/website.

Is there a reason why I shouldn't point the new domain to the original website/host and point the old domain to a different(empty) hosting environment that has the 301 redirects setup.

I understand there could be a period of time where the domains are both pointing to the same host or are unreachable. But a bit of downtime isn't an issue is this case.

Or maybe I have missed another option?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Correia994

1 Comments

Sorted by latest first Latest Oldest Best

 

@Deb1703797

This sounds more complicated than needed. Just get your domainB and make that an alias (CNAME) of your current domain, your whole site will now be reachable without any extra work (and no downtime at all).

At this point both work, which you dont want to like thís. The moment it works, set you canonical to the domainB, and build the 301-header in your .htaccess (this is important SEO wise! This way you pass most of the SEO value to your new domain). Also, don't forget your Google Analytics, you need to inform them of domainchanges (there's plenty of documentation about this).

After some time you can change your DNS, make domainB the A-record and make domainA the alias. This also involves no downtime, the outside world won't notice a thing.

When that's done and you've waited a fair amount of time, you can remove domainA from your DNS, completing the move.

Please note: It does not harm you if you have two domains, as long as your canonical and 301-headers and all settings keep pointing to domainB, don't let them mark you as duplicate (which, if it happens, is fixable).
I suggest you keep domainA active as alias for as long as the domainname is live. Some users might've bookmarked the old url, give them time to update :)

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme